Change the default URL of deepseek. Change the example to use reasoner for architect.
This commit is contained in:
parent
fa4533e8d0
commit
0485bfb82f
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue