Change the default URL of deepseek. Change the example to use reasoner for architect.

This commit is contained in:
hkalex 2026-04-16 12:17:22 +10:00
parent fa4533e8d0
commit 0485bfb82f
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import type { AgentConfig, OrchestratorEvent } from '../src/types.js'
// ---------------------------------------------------------------------------
const architect: AgentConfig = {
name: 'architect',
model: 'deepseek-chat',
model: 'deepseek-reasoner',
provider: 'deepseek',
systemPrompt: `You are a software architect with deep experience in Node.js and REST API design.
Your job is to design clear, production-quality API contracts and file/directory structures.

View File

@ -23,7 +23,7 @@ export class DeepSeekAdapter extends OpenAIAdapter {
// Allow override of baseURL (for proxies or future changes) but default to official DeepSeek endpoint.
super(
apiKey ?? process.env['DEEPSEEK_API_KEY'],
baseURL ?? 'https://api.deepseek.com'
baseURL ?? 'https://api.deepseek.com/v1'
)
}
}