Skip to content

Commit 68a04e8

Browse files
authored
Merge pull request #42 from devchat-ai/hanle-workflows-errors
Add env OPENAI_BASE_URL to make ask-code work
2 parents 031a3ab + 23eb055 commit 68a04e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/kotlin/ai/devchat/cli/DevChatWrapper.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ class DevChatWrapper(
173173
val env: MutableMap<String, String> = mutableMapOf()
174174
apiBase?.let {
175175
env["OPENAI_API_BASE"] = it
176+
env["OPENAI_BASE_URL"] = it
176177
Log.info("api_base: $it")
177178
}
178179
apiKey?.let {

0 commit comments

Comments
 (0)