increasing max tokens
All checks were successful
Recommender Build and Deploy (internal) / Build Recommender Image (push) Successful in 4m4s
Recommender Build and Deploy (internal) / Deploy Recommender (internal) (push) Successful in 18s

This commit is contained in:
2026-04-02 21:31:34 -03:00
parent 98860835d9
commit 0c704cf2f6
4 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ export async function runRetrieval(
const response = await openai.responses.parse({
model: defaultModel,
temperature: 0.9,
max_completion_tokens: 16384,
...serviceOptions,
...(canSearch ? { tools: [{ type: 'web_search' as const }] } : {}),
text: { format: zodTextFormat(RetrievalSchema, "candidates") },