From 0485bfb82f793bc66bf89448509087b178f073c6 Mon Sep 17 00:00:00 2001 From: hkalex Date: Thu, 16 Apr 2026 12:17:22 +1000 Subject: [PATCH] Change the default URL of deepseek. Change the example to use reasoner for architect. --- examples/18-deepseek.ts | 2 +- src/llm/deepseek.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' ) } }