Skip to content

Commit 470ba7c

Browse files
committed
update logging
1 parent 3b33840 commit 470ba7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_acr_command.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,10 @@ def test_anthropic_api_integration():
286286
dummy_key = "sk-ant-dummy"
287287
anthropic_key = os.environ.get("ANTHROPIC_API_KEY", dummy_key)
288288
os.environ["ANTHROPIC_API_KEY"] = anthropic_key
289+
if anthropic_key == dummy_key:
290+
print("Using dummy ANTHROPIC_API_KEY:", anthropic_key)
291+
else:
292+
print("Using ANTHROPIC_API_KEY:", "***")
289293

290294
# Step 2: Construct the command to run.
291295
command = "conda run -n auto-code-rover env PYTHONPATH=$(pwd) python app/main.py github-issue --output-dir output --setup-dir setup --model claude-3-haiku-20240307 --model-temperature 0.2 --task-id langchain-20453 --clone-link https://github.com/langchain-ai/langchain.git --commit-hash cb6e5e5 --issue-link https://github.com/langchain-ai/langchain/issues/20453"

0 commit comments

Comments
 (0)