Update router.py
Browse files
router.py
CHANGED
|
@@ -15,7 +15,7 @@ def routing_agent(query, key, chat_history):
|
|
| 15 |
messages=[
|
| 16 |
{"role": "system", "content": system_prompt},
|
| 17 |
{"role": "user", "content": query},
|
| 18 |
-
{"role": "
|
| 19 |
]
|
| 20 |
)
|
| 21 |
|
|
|
|
| 15 |
messages=[
|
| 16 |
{"role": "system", "content": system_prompt},
|
| 17 |
{"role": "user", "content": query},
|
| 18 |
+
{"role": "assistant", "content": "Here is the chat history: " + chat_history}
|
| 19 |
]
|
| 20 |
)
|
| 21 |
|