mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-26 18:58:03 +00:00
fix the rag query generator types
This commit is contained in:
parent
efe3189728
commit
82395ba654
4 changed files with 19 additions and 10 deletions
|
|
@ -401,7 +401,9 @@ class ChatAgent(ShieldRunnerMixin):
|
|||
session_info = await self.storage.get_session_info(session_id)
|
||||
# if the session has a memory bank id, let the memory tool use it
|
||||
if session_info.memory_bank_id:
|
||||
query_args["memory_bank_id"] = session_info.memory_bank_id
|
||||
if "memory_bank_ids" not in query_args:
|
||||
query_args["memory_bank_ids"] = []
|
||||
query_args["memory_bank_ids"].append(session_info.memory_bank_id)
|
||||
yield AgentTurnResponseStreamChunk(
|
||||
event=AgentTurnResponseEvent(
|
||||
payload=AgentTurnResponseStepProgressPayload(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue