8000 Onboard vercel AI SDK by rahulkarajgikar · Pull Request #2 · truffle-ai/saiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Onboard vercel AI SDK #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 3, 2025
Merged

Onboard vercel AI SDK #2

merged 13 commits into from
Apr 3, 2025

Conversation

rahulkarajgikar
Copy link
Collaborator
@rahulkarajgikar rahulkarajgikar commented Apr 3, 2025

Adds vercel AI SDK as the default LLM service with support for openai and anthropic.

const llmService = createLLMService(config.llm, clientManager, true);

Change true above to false to default to other individual LLM services we have defined.

description += `\n - ${paramName}: ${param.description || 'No description'} ${param.type ? `(${param.type})` : ''}`;
}
}
return description;
})
.join('\n');

this.systemContext = `You are Omega, a helpful AI assistant with access to the following tools:\n\n${toolDescriptions}\n\nUse these tools when appropriate to answer user queries. You can use multiple tools in sequence to solve complex problems. After each tool result, determine if you need more information or can provide a final answer.`;
this.systemContext = `You are Saiki, a helpful AI assistant with access to the following tools:\n\n${toolDescriptions}\n\nUse these tools when appropriate to answer user queries. You can use multiple tools in sequence to solve complex problems. After each tool result, determine if you need more information or can provide a final answer.`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these toolDescriptions the same as the in the schema? If so, this is a duplicate since the same data is already appended when given to the 'tools' parameter

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes good catch, removed the duplicates in latest revision

@rahulkarajgikar rahulkarajgikar merged commit 36a7972 into main Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0