feat(llm): auto fixing known llm format errors

This commit is contained in:
Simon
2025-10-20 22:03:09 +08:00
parent 48da610732
commit 0d48b71b27
7 changed files with 318 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ export function parseLLMConfig(config: LLMConfig): Required<LLMConfig> {
baseURL: config.baseURL ?? DEFAULT_BASE_URL,
apiKey: config.apiKey ?? DEFAULT_API_KEY,
modelName: config.modelName ?? DEFAULT_MODEL_NAME,
temperature: config.temperature ?? 0.5, // higher randomness helps auto-recovery
temperature: config.temperature ?? 0.7, // higher randomness helps auto-recovery
maxTokens: config.maxTokens ?? 4096,
maxRetries: config.maxRetries ?? LLM_MAX_RETRIES,
}