mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-31 18:21:15 +02:00
logging level changes
This commit is contained in:
parent
3cd057d7a2
commit
7ac6d3ed50
@ -106,7 +106,7 @@ def generate_sub_answer(
|
|||||||
response.append(content)
|
response.append(content)
|
||||||
|
|
||||||
answer_str = merge_message_runs(response, chunk_separator="")[0].content
|
answer_str = merge_message_runs(response, chunk_separator="")[0].content
|
||||||
logger.info(
|
logger.debug(
|
||||||
f"Average dispatch time: {sum(dispatch_timings) / len(dispatch_timings)}"
|
f"Average dispatch time: {sum(dispatch_timings) / len(dispatch_timings)}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ def generate_initial_answer(
|
|||||||
)
|
)
|
||||||
streamed_tokens.append(content)
|
streamed_tokens.append(content)
|
||||||
|
|
||||||
logger.info(
|
logger.debug(
|
||||||
f"Average dispatch time for initial answer: {sum(dispatch_timings) / len(dispatch_timings)}"
|
f"Average dispatch time for initial answer: {sum(dispatch_timings) / len(dispatch_timings)}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user