feat: add stock database with prisma for portfolio persistence
- Initialize Prisma with SQLite and Stock model - Create database service layer with singleton client - Add API routes for stock CRUD operations - Integrate database with analyze page to persist ticker entries - Add Playwright tests for stock database functionality
This commit is contained in:
@@ -11,7 +11,7 @@ export class BullishResearcher {
|
||||
|
||||
constructor(client: OpenRouterClient, model?: string) {
|
||||
this.client = client;
|
||||
this.model = model ?? "google/gemini-2.0-flash-exp:free";
|
||||
this.model = model ?? "openai/gpt-oss-120b:free";
|
||||
}
|
||||
|
||||
async research(ticker: string, reports: AnalystReport[]): Promise<DebateRound> {
|
||||
@@ -48,7 +48,7 @@ export class BearishResearcher {
|
||||
|
||||
constructor(client: OpenRouterClient, model?: string) {
|
||||
this.client = client;
|
||||
this.model = model ?? "google/gemini-2.0-flash-exp:free";
|
||||
this.model = model ?? "openai/gpt-oss-120b:free";
|
||||
}
|
||||
|
||||
async research(ticker: string, reports: AnalystReport[]): Promise<DebateRound> {
|
||||
|
||||
Reference in New Issue
Block a user