Skip to content

Commit

Permalink
Changed prompt in check_api_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
dougollerenshaw committed Sep 25, 2024
1 parent 06a2fed commit 30fc52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeaide/utils/api_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def check_api_connection():
response = client.messages.create(
model=DEFAULT_MODEL,
max_tokens=100,
messages=[{"role": "user", "content": "Hi Claude, are we communicating?"}],
messages=[{"role": "user", "content": "Are we communicating?"}],
)
return True, response.content[0].text.strip()
except Exception as e:
Expand Down

0 comments on commit 30fc52a

Please sign in to comment.