spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Whether multiple APIkeys conflict?

Open yuluo-yx opened this issue 1 year ago • 2 comments
trafficstars

  • For https://github.com/spring-projects/spring-ai/blob/ee19ee1db958f02982a29ff13d8fb04d6d415b08/spring-ai-spring-boot-autoconfigure/src/main/java/org/springframework/ai/autoconfigure/azure/openai/AzureOpenAiAutoConfiguration.java#L62

This apiKey is currently set globally, so if there are multiple apikeys in an application, will there be conflicts? Is it put into mode filesl? It can be solved by passing apiKey through request.

yuluo-yx avatar Jul 15 '24 13:07 yuluo-yx