-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Open
Labels
bugSomething isn't workingSomething isn't workingtriageIssue needs to be triaged/prioritizedIssue needs to be triaged/prioritized
Description
Bug Description
RAG CLI Chat does not work with GoogleGenAI.
- In details
- GoogleGenAI._stream_chat() call
asyncio.run
- GoogleGenAI._stream_chat() call
# line 403
next_msg, chat_kwargs, file_api_names = asyncio.run(
prepare_chat_params(
self.model, messages, self.file_mode, self._client, **params
)
)
- RagCLI.start_chat_repl() is defined as
async
async def start_chat_repl(self) -> None:
"""
Start a REPL for chatting with the agent.
"""
GoogleGenAI._stream_chat()is in the call flow fromRagCLI.start_chat_repl(), therefore,RuntimeErrorshall be raised.
Version
v0.14.15
Steps to Reproduce
- Step 1: create a python wrapper for RAG CLI in which Settings.llm is set to GoogleGenAI
- Step 2: ingest several documents
- Step 3: run
python rag_cli_wrapper.py --chat
Relevant Logs/Tracbacks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageIssue needs to be triaged/prioritizedIssue needs to be triaged/prioritized