Skip to content

Commit c67f6de

Browse files
fix(tests): update OpenAI env vars in cli-smoke test
- Replace legacy env vars with new OpenAI_* keys - Align test with updated config keys in CLI smoke test The cli-smoke test now uses the new OpenAI_API_KEY, OPENAI_API_BASE_URL, and OPENAI_MODEL environment variables instead of the deprecated OPENAI_COMPACT_* names to reflect updated configuration. Co-Authored-By: Ai Commit <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d4f6e9a commit c67f6de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/cli-smoke.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ describe.concurrent("cli smoke", () => {
105105
const result = runCli(["config", "show", "--cwd", dir], {
106106
env: {
107107
XDG_CONFIG_HOME: xdgHome,
108-
OPENAI_COMPACT_API_KEY: "",
109-
OPENAI_COMPACT_API_BASE_URL: "",
110-
OPENAI_COMPACT_MODEL: "",
108+
OPENAI_API_KEY: "",
109+
OPENAI_API_BASE_URL: "",
110+
OPENAI_MODEL: "",
111111
GIT_AGENT_BUILD_API_KEY: "",
112112
GIT_AGENT_BUILD_BASE_URL: "https://build.example/v1",
113113
GIT_AGENT_BUILD_MODEL: "build-model",

0 commit comments

Comments
 (0)