🐛 fix(utils.py): remove unnecessary or operator in process_graph function call
The unnecessary or operator in the process_graph function call has been removed. The chat_inputs.message parameter is now passed directly to the get_result_and_steps function.
This commit is contained in:
parent
c3886ed219
commit
d31fe77d55
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ async def process_graph(
|
||||||
try:
|
try:
|
||||||
logger.debug("Generating result and thought")
|
logger.debug("Generating result and thought")
|
||||||
result, intermediate_steps = await get_result_and_steps(
|
result, intermediate_steps = await get_result_and_steps(
|
||||||
langchain_object, chat_inputs.message or "", websocket=websocket
|
langchain_object, chat_inputs.message, websocket=websocket
|
||||||
)
|
)
|
||||||
logger.debug("Generated result and intermediate_steps")
|
logger.debug("Generated result and intermediate_steps")
|
||||||
return result, intermediate_steps
|
return result, intermediate_steps
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue