File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments