@taj-special/dravix-code 1.2.8 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  const AI_PROXY = 'https://dravix.app/ai-proxy.php';
2
2
  const PROMPT_URL = 'https://dravix.app/cli-prompt.php';
3
- export const FLASH_MODEL = 'deepseek/deepseek-v4-flash'; // fast, cheap — default for all tasks
4
- export const PRO_MODEL = 'deepseek/deepseek-r1'; // high-reasoning — used after errors/retries
3
+ export const FLASH_MODEL = 'deepseek-v4-pro'; // fast, cheap — default for all tasks
4
+ export const PRO_MODEL = 'deepseek-v4-pro'; // high-reasoning — used after errors/retries
5
5
  export const CLAUDE_MODEL = 'anthropic/claude-sonnet-4'; // high-quality — for complex tasks
6
6
  // Model routing: decide which model to use based on task complexity
7
7
  export function selectModel(userMessage, retryCount = 0) {
@@ -144,12 +144,12 @@ async function doSingleRequest(messages, token, abort, onChunk, model = FLASH_MO
144
144
  'X-CLI-Version': '1.1.5',
145
145
  },
146
146
  body: JSON.stringify({
147
- provider: 'openrouter',
147
+ provider: 'deepseek',
148
148
  model,
149
149
  messages: prepareMessages(messages),
150
150
  stream: true,
151
151
  temperature: 0.1,
152
- max_tokens: 16384,
152
+ max_tokens: 32000,
153
153
  }),
154
154
  });
155
155
  // Retry on rate-limit with exponential backoff (2s, 4s, 8s)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taj-special/dravix-code",
3
- "version": "1.2.8",
3
+ "version": "1.3.0",
4
4
  "description": "AI-powered coding assistant CLI — Dravix Code",
5
5
  "type": "module",
6
6
  "bin": {