diff --git a/examples/18-deepseek.ts b/examples/18-deepseek.ts index 6c39193..937b2ef 100644 --- a/examples/18-deepseek.ts +++ b/examples/18-deepseek.ts @@ -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. diff --git a/src/llm/deepseek.ts b/src/llm/deepseek.ts index 0c63af0..cb52a24 100644 --- a/src/llm/deepseek.ts +++ b/src/llm/deepseek.ts @@ -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' ) } }