Merge branch 'nsc/deep-research-prompts'

This commit is contained in:
Nicolas 2025-03-18 15:53:02 -04:00
commit 723c16499d
2 changed files with 5 additions and 0 deletions

View File

@ -372,6 +372,10 @@ export interface DeepResearchParams {
* @default 20 * @default 20
*/ */
maxUrls?: number; maxUrls?: number;
/**
* The prompt to use for the final analysis
*/
analysisPrompt?: string;
/** /**
* Experimental flag for streaming steps * Experimental flag for streaming steps
*/ */

View File

@ -48,6 +48,7 @@ class DeepResearchParams(pydantic.BaseModel):
maxDepth: Optional[int] = 7 maxDepth: Optional[int] = 7
timeLimit: Optional[int] = 270 timeLimit: Optional[int] = 270
maxUrls: Optional[int] = 20 maxUrls: Optional[int] = 20
analysisPrompt: Optional[str] = None
__experimental_streamSteps: Optional[bool] = None __experimental_streamSteps: Optional[bool] = None
class DeepResearchResponse(pydantic.BaseModel): class DeepResearchResponse(pydantic.BaseModel):