-
Notifications
You must be signed in to change notification settings - Fork 33
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
Using LLMFactory to build Azure OpenAI llm for iot agent will crash #730
Comments
Hello @rivendell1984, thanks for your first issue and interest in our work 😊! If this is a bug report, please provide screenshots, relevant logs and minimum viable code to reproduce your issue, which will help us debug the problem. |
Can you show your code in detail. It will help me to trace bug. |
Thanks a lot for response. My promptulate version is 1.16.7. Below is the code
And I got this log right now:
I have set the azure API key by os.environ, and the LLMFactory will use litellm to build the model which will be passed to ToolAgent. |
Find the problem. I will fix it later. Thanks for feedback! |
Hello,
In iot_agent_usage.py example, the ToolAgent uses OpenAI by default. So I try to use pne.LLMFactory to build Azure OpenAI llm & pass it to ToolAgent. It crashes and the log as below:
The text was updated successfully, but these errors were encountered: