-
Notifications
You must be signed in to change notification settings - Fork 26
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
Conversation
…instead of relying on vercel's mcp client wrapper
src/ai/llm/anthropic.ts
Outdated
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.`; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Adds vercel AI SDK as the default LLM service with support for openai and anthropic.
Change true above to false to default to other individual LLM services we have defined.