fix ordering of messages

This commit is contained in:
Adil Hafeez 2025-12-22 16:36:43 -08:00
parent 6cfd630a05
commit da8047e40c
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
4 changed files with 8 additions and 3 deletions

View file

@ -402,7 +402,7 @@ Use this data to answer the user's currency exchange query.
response_messages = [
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "system", "content": currency_context},
{"role": "assistant", "content": currency_context},
]
# Add conversation history

View file

@ -664,7 +664,7 @@ Example: "I'd be happy to help you find flights! Could you please tell me both t
response_messages = [
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "system", "content": flight_context},
{"role": "assistant", "content": flight_context},
]
# Add conversation history

View file

@ -508,7 +508,7 @@ Use this data to answer the user's weather query.
response_messages = [
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "system", "content": weather_context},
{"role": "assistant", "content": weather_context},
]
# Add conversation history