Closed rhyswynn closed 2 months ago
The other problem is because of the isInstance check, an AzureOpenAI client returns true for the isInstance check against OpenAI
This line should be completion = client.chat.completions.create(
It is also not working when I fix this line, I am still troubleshooting, but the version I updated was working fine. Will you be making any changes to fix this, or should I just maintain my own version? Thank you
Thank you. Yes, we should be using client.chat.completions.create and we don't need to check for Azure instance. PR ready #16
Merged to main, and pushed to v0.1.6.post2
This line should be completion = client.chat.completions.create(
It is also not working when I fix this line, I am still troubleshooting, but the version I updated was working fine. Will you be making any changes to fix this, or should I just maintain my own version? Thank you
https://github.com/Holmeswww/AgentKit/blob/15000a976bbff8fc8e6480208ebaa5ec227afc6f/src/agentkit/llm_api/GPT.py#L92