-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Support Azure OpenAI provider #327
Conversation
@SzilvasiPeter is attempting to deploy a commit to the morphic Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
@SzilvasiPeter Thank you for sending the PR.
Deployment to Vercel was failing due to an error. The cause might be different type definitions of LanguageModelV1
being referenced across packages.
I've merged a PR into morphic's main branch that updates the ai sdk to the latest version: #328. Please merge this change. It should resolve the error. You can also verify locally using the bun run build
command.
Build logs
Failed to compile.
./lib/agents/inquire.tsx:16:5
Type error: Type 'OllamaChatLanguageModel | GoogleGenerativeAILanguageModel | AnthropicMessagesLanguageModel | LanguageModelV1 | OpenAIChatLanguageModel' is not assignable to type 'LanguageModelV1'.
14 | let finalInquiry: PartialInquiry = {}
15 | await streamObject({
> 16 | model: getModel(),
| ^
17 | system: `As a professional web researcher, your role is to deepen your understanding of the user's input by conducting further inquiries when necessary.
18 | After receiving an initial response from the user, carefully assess whether additional questions are absolutely essential to provide a comprehensive and accurate answer. Only proceed with further inquiries if the available information is insufficient or ambiguous.
19 |
error: script "build" exited with code 1
Error: Command "bun run build" exited with 1
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.
Thank you for your contribution! ✨
The PR introduce the Azure OpenAI provider as an additional LLM.
Reference to the #13 issue.