mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: improve json parsing resilience and disable gemini thinking
- add jsonrepair fallback for truncated LLM output - disable gemini built-in thinking mode (thinkingBudget: 0) - increase token limits for errorAnalyzer, queryRewriter, serpCluster - switch production default to gemini-2.5-flash-lite - fix normalizeHostName to handle wildcard patterns
This commit is contained in:
@@ -34,31 +34,35 @@
|
||||
"models": {
|
||||
"gemini": {
|
||||
"default": {
|
||||
"model": "gemini-2.5-flash",
|
||||
"model": "gemini-2.5-flash-lite",
|
||||
"temperature": 0.6,
|
||||
"maxTokens": 8000
|
||||
},
|
||||
"tools": {
|
||||
"coder": {
|
||||
"maxTokens": 2000,
|
||||
"model": "gemini-2.5-flash-lite"
|
||||
"maxTokens": 2000
|
||||
},
|
||||
"researchPlanner": {},
|
||||
"evaluator": {
|
||||
"maxTokens": 2000
|
||||
},
|
||||
"serpCluster": {},
|
||||
"serpCluster": {
|
||||
"maxTokens": 4000
|
||||
},
|
||||
"errorAnalyzer": {
|
||||
"maxTokens": 1000
|
||||
"maxTokens": 4000
|
||||
},
|
||||
"queryRewriter": {
|
||||
"maxTokens": 2000
|
||||
"maxTokens": 4000
|
||||
},
|
||||
"agent": {
|
||||
"model": "gemini-2.5-flash"
|
||||
},
|
||||
"agentBeastMode": {
|
||||
"model": "gemini-2.5-flash"
|
||||
},
|
||||
"agent": {},
|
||||
"agentBeastMode": {},
|
||||
"fallback": {
|
||||
"maxTokens": 8000,
|
||||
"model": "gemini-2.5-flash-lite"
|
||||
"maxTokens": 8000
|
||||
},
|
||||
"finalizer": {},
|
||||
"reducer": {
|
||||
|
||||
Reference in New Issue
Block a user