Skip to content

Commit da8b568

Browse files
authored
Merge pull request #496 from devchat-ai/use_selected_models_for_ut
Enable Use of Specific Models in Unit Tests for Consistency
2 parents b6d4aed + eb329a2 commit da8b568

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/toolwrapper/devchat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ class DevChat {
256256
"PYTHONPATH": UiUtilWrapper.extensionPath() + "/tools/site-packages",
257257
// eslint-disable-next-line @typescript-eslint/naming-convention
258258
"OPENAI_API_KEY": llmModelData.api_key.trim(),
259+
"DEVCHAT_UNIT_TESTS_USE_USER_MODEL": 1,
259260
// eslint-disable-next-line @typescript-eslint/naming-convention
260261
...llmModelData.api_base? { "OPENAI_API_BASE": llmModelData.api_base, "OPENAI_BASE_URL": llmModelData.api_base } : {}
261262
};

0 commit comments

Comments
 (0)