@quantish/agent 0.1.32 → 0.1.33

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3688,7 +3688,8 @@ var Agent = class {
3688
3688
  }
3689
3689
  const allTools = await this.getAllTools();
3690
3690
  const systemPrompt = this.config.systemPrompt ?? DEFAULT_SYSTEM_PROMPT;
3691
- const model = this.config.model ?? DEFAULT_MODEL;
3691
+ const defaultModel = this.config.provider === "openrouter" ? "z-ai/glm-4.7" : DEFAULT_MODEL;
3692
+ const model = this.config.model ?? defaultModel;
3692
3693
  const maxTokens = this.config.maxTokens ?? 8192;
3693
3694
  this.llmProvider = createLLMProvider({
3694
3695
  provider: this.config.provider || "anthropic",
@@ -5421,7 +5422,7 @@ Stopped ${count} background process${count > 1 ? "es" : ""}.`);
5421
5422
  }
5422
5423
 
5423
5424
  // src/index.ts
5424
- var VERSION = "0.1.32";
5425
+ var VERSION = "0.1.33";
5425
5426
  function cleanup() {
5426
5427
  if (processManager.hasRunning()) {
5427
5428
  const count = processManager.runningCount();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantish/agent",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "AI-powered agent for trading on Polymarket and Kalshi",
5
5
  "type": "module",
6
6
  "bin": {