carlrobertoh / llm-client

User-friendly Java HTTP client that provides access to large language model APIs and services
https://central.sonatype.com/artifact/ee.carlrobert/llm-client
MIT License
21 stars 29 forks source link

Request: Replace gpt-4-1106-turbo with gpt-4-turbo-preview in OpenAIChatCompletionModel.java #12

Closed jwcraig closed 8 months ago

jwcraig commented 9 months ago

OpenAI has updated gpt 4 turbo preview and now has an alias for their latest model, "gpt-4-turbo-preview" which now points to gpt-4-0125-preview; see docs

Ideally, in CodeGPT preferences you could specify a model name and label instead of having them only hardcoded in OpenAIChatCompletionModel.java