Closed eta-zhang closed 1 month ago
Thansk for your contribution, but AgentScope has already supported Azure OpenAI API via litellm?
Thansk for your contribution, but AgentScope has already supported Azure OpenAI API via litellm?
Thanks for the reminder, I just found it. By the way, perhaps implement Embedding and DALLEWrapper via LiteLLM as well.
name: Add support for Azure OpenAI models. about: Create a pull request
Description
src/agentscope/models/openai_model.py
by adding a parameter to the base class and add logic to initialize an AzureOpenAI endpoint.Checklist
Please check the following items before code is ready to be reviewed.