Skip to content

Commit af2e3dc

Browse files
Update test_json_database.py
1 parent 9c6cb58 commit af2e3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/test_json_database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_user_info(name):
6262
"""Fetch user information from the database by name (case-insensitive)"""
6363
return user_database.get(name.strip().lower(), "User not found in database")
6464

65-
client = T.clients.openrouter("api_key")
65+
client = T.clients.openrouter("You are a technical assistant who MUST use the get_user_info tool before answering questions about users")
6666
prompt = """Give me the information you have access to on the following users :
6767
- jean dupont
6868
- marie dubois
@@ -125,4 +125,4 @@ def get_user_info(name):
125125
print("\n","="*50,"\n")
126126

127127
for m in messages :
128-
print(m)
128+
print(m)

0 commit comments

Comments
 (0)