devoxx / DevoxxGenieIDEAPlugin

DevoxxGenie is a plugin for IntelliJ IDEA that uses local LLM's (Ollama, LMStudio, GPT4All and Jan) and Cloud based LLMs to help review, test, explain your project code.
https://devoxx.com
MIT License
83 stars 16 forks source link

CompletionException - com.devoxx.genie.service.exception.ProviderUnavailableException: #147

Closed stephanj closed 1 week ago

stephanj commented 1 week ago

While using OpenAI : GPT-4o I get the following exception:

"An unexpected error occurred: CompletionException - com.devoxx.genie.service.exception.ProviderUnavailableException: dev.ai4j.openai4j.OpenAiHttpException: { "error": { "message": "Invalid 'messages[1].name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.", "type": "invalid_request_error", "param": "messages[1].name", "code": "invalidvalue" } } Caused by: ProviderUnavailableException - dev.ai4j.openai4j.OpenAiHttpException: { "error": { "message": "Invalid 'messages[1].name': string does not match pattern. Expected a string that matches the pattern '^[a-zA-Z0-9-]+$'.", "type": "invalid_request_error", "param": "messages[1].name", "code": "invalid_value" } } Please check the IDE log for more details."