Closed petrusali closed 2 days ago
@petrusali now that we have the option for customizing the model (in staging branch atm), I've updated the issue title & description to include detailed steps showing how to add support for Azure OpenAI models! Let me know if I'm missing anything from your initial issue (not including Open Router support, LangChain's @langchain/openai
class has support for calling the Azure API).
Update the custom model dropdown options & util for converting model string to
modelName
andmodelProvider
to includeGPT 4o mini (Azure)
which uses the@langchain/openai
package, but with Azure credentials. The util which returnsmodelName
andmodelProvider
should be updated to also return the other init fields which are required to support calling the Azure OpenAI API via the@langchain/openai
package.Finally, please update the
.env.example
file with the required credentials.