We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61e8c68 commit 07cf642Copy full SHA for 07cf642
3 files changed
app/api/trade/route.ts
@@ -19,8 +19,13 @@ async function tradeHandler(): Promise<NextResponse> {
19
20
const { content, toolResults } = await callAgent(
21
accountId,
22
+ // WTF - Now we are passing the system prompt twice...
23
context.systemPrompt,
24
agentId,
25
+ "", // evmAddress
26
+ "", // suiAddress
27
+ "", // nearAddress
28
+ context.systemPrompt,
29
);
30
31
const quoteResult = (toolResults as ToolResult[]).find(
package.json
@@ -14,7 +14,7 @@
14
"dependencies": {
15
"@ai-sdk/openai": "^1.3.24",
16
"@ai-sdk/ui-utils": "1.2.11",
17
- "@bitte-ai/agent-sdk": "0.4.1-beta.5",
+ "@bitte-ai/agent-sdk": "0.4.2-beta.0",
18
"@near-js/transactions": "^2.3.0",
"ai": "^3.4.33",
"clsx": "^2.1.1",
0 commit comments