Код: Выделить всё
org.springframework.ai.retry.NonTransientAiException: 404 - {
"error": {
"message": "The model `gpt-4o` does not exist or you do not have access to it.",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}
Код: Выделить всё
spring.ai.openai.api-key=${OPENAI_API_KEY}
spring.ai.openai.model=gpt-3.5-turbo
Вот код:
https://github.com/saranshbansal/spring-ai-template
Подробнее здесь: https://stackoverflow.com/questions/793 ... onfigurati
Мобильная версия