gperdrizet commited on
Commit
9a98462
·
verified ·
1 Parent(s): 390e1b0

Truncated long responses in dialog log.

Browse files
Files changed (1) hide show
  1. client/interface.py +2 -2
client/interface.py CHANGED
@@ -67,7 +67,7 @@ async def agent_input(
67
  }]
68
 
69
  dialog.info('System: re-prompting LLM with return from %s call', tool_name)
70
- dialog.info('New prompt: %s ...', prompt[:150])
71
 
72
  logger.info('Re-prompting input %s', input_message)
73
  result = await bridge.process_query(
@@ -93,7 +93,7 @@ async def agent_input(
93
 
94
  logger.info('Direct, no-tool reply: %s', reply)
95
 
96
- dialog.info('LLM: %s ...', reply[:100])
97
  output_queue.put(reply)
98
  output_queue.put('bot-finished')
99
 
 
67
  }]
68
 
69
  dialog.info('System: re-prompting LLM with return from %s call', tool_name)
70
+ dialog.info('New prompt: %s ...', prompt[:75])
71
 
72
  logger.info('Re-prompting input %s', input_message)
73
  result = await bridge.process_query(
 
93
 
94
  logger.info('Direct, no-tool reply: %s', reply)
95
 
96
+ dialog.info('LLM: %s ...', reply[:175])
97
  output_queue.put(reply)
98
  output_queue.put('bot-finished')
99