mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 03:50:04 +00:00
cleaning up logs
This commit is contained in:
parent
1ecc7af0be
commit
7ba43f25fa
2 changed files with 1 additions and 3 deletions
|
|
@ -32,10 +32,9 @@ def run_pattern(
|
|||
system_prompt = Prompter(prompt_template=pattern_name, parser=parser).render(
|
||||
data=state
|
||||
)
|
||||
# logger.debug(f"System prompt: {system_prompt}")
|
||||
logger.debug(f"System prompt: {system_prompt}")
|
||||
|
||||
if len(messages) > 0:
|
||||
logger.warning(messages)
|
||||
response = chain.invoke([system_prompt] + messages)
|
||||
else:
|
||||
response = chain.invoke(system_prompt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue