refactor: make requests purely client-side

This commit is contained in:
AnotiaWang
2025-02-11 22:28:58 +08:00
parent 066aafa9b2
commit 84f63abb3d
4 changed files with 43 additions and 66 deletions

View File

@@ -19,7 +19,7 @@ export interface WriteFinalReportParams {
prompt: string;
learnings: string[];
}
// useRuntimeConfig()
// Used for streaming response
export type SearchQuery = z.infer<typeof searchQueriesTypeSchema>['queries'][0];
export type PartialSearchQuery = DeepPartial<SearchQuery>;