@lota-sdk/core 0.1.27 → 0.1.28

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lota-sdk/core",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -32,7 +32,7 @@
32
32
  "@chat-adapter/slack": "^4.23.0",
33
33
  "@chat-adapter/state-ioredis": "^4.23.0",
34
34
  "@logtape/logtape": "^2.0.5",
35
- "@lota-sdk/shared": "0.1.27",
35
+ "@lota-sdk/shared": "0.1.28",
36
36
  "@mendable/firecrawl-js": "^4.18.0",
37
37
  "@surrealdb/node": "^3.0.3",
38
38
  "ai": "^6.0.141",
@@ -1,8 +1,8 @@
1
1
  import { aiGatewayChatModel } from '../ai-gateway/ai-gateway'
2
2
  import { buildAiGatewayStrictSemanticCacheHeaders } from '../ai-gateway/cache-headers'
3
3
  import {
4
- OPENROUTER_MEDIUM_REASONING_PROVIDER_OPTIONS,
5
- OPENROUTER_WEB_RESEARCH_MODEL_ID,
4
+ OPENROUTER_HIGH_REASONING_PROVIDER_OPTIONS,
5
+ OPENROUTER_FAST_REASONING_MODEL_ID,
6
6
  } from '../config/model-constants'
7
7
  import { createDelegatedAgentTool } from '../system-agents/delegated-agent-factory'
8
8
  import { RESEARCHER_PROMPT } from '../system-agents/researcher.agent'
@@ -13,8 +13,8 @@ export const researchTopicTool = createDelegatedAgentTool({
13
13
  id: 'researchTopic',
14
14
  description:
15
15
  'Delegate a research task to a dedicated research agent that searches the web, fetches pages, and returns a synthesized markdown report.',
16
- model: () => aiGatewayChatModel(OPENROUTER_WEB_RESEARCH_MODEL_ID),
17
- providerOptions: OPENROUTER_MEDIUM_REASONING_PROVIDER_OPTIONS,
16
+ model: () => aiGatewayChatModel(OPENROUTER_FAST_REASONING_MODEL_ID),
17
+ providerOptions: OPENROUTER_HIGH_REASONING_PROVIDER_OPTIONS,
18
18
  headers: buildAiGatewayStrictSemanticCacheHeaders('researchTopic'),
19
19
  instructions: RESEARCHER_PROMPT,
20
20
  tools: { searchWeb: searchWebTool.create(), fetchWebpage: fetchWebpageTool.create() },