Skip to content

Commit

Permalink
fix: openAI base path
Browse files Browse the repository at this point in the history
  • Loading branch information
xmxnt committed Dec 17, 2024
1 parent 23216bb commit e2ba11b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ abstract class ModelClientProperties(
* @param format The format.
*/
data class DefaultModelClientProperties(
val openAiUrl: String = "https://api.openai.com/v1/chat/completions",
val openAiUrl: String = "https://api.openai.com/v1",
val openAiApiKey: String,
override val model: String = "gpt-4o-mini",
override val maxTokens: Int = 200,
Expand Down

0 comments on commit e2ba11b

Please sign in to comment.