mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Strip quotes from the response mode llm response
This commit is contained in:
parent
87e97e40f4
commit
3e74d383fe
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ async def aget_relevant_output_modes(query: str, conversation_history: dict, is_
|
|||
response = await send_message_to_model_wrapper(relevant_mode_prompt)
|
||||
|
||||
try:
|
||||
response = response.strip()
|
||||
response = response.strip().strip('"')
|
||||
|
||||
if is_none_or_empty(response):
|
||||
return ConversationCommand.Text
|
||||
|
|
Loading…
Reference in a new issue