mirror of
https://github.com/mruwnik/memory.git
synced 2025-11-13 08:14:05 +01:00
prompt from bot user
This commit is contained in:
parent
9182f15c45
commit
6250586d1f
@ -266,7 +266,7 @@ def call_llm(
|
|||||||
return provider.run_with_tools(
|
return provider.run_with_tools(
|
||||||
messages=provider.as_messages(message_content),
|
messages=provider.as_messages(message_content),
|
||||||
tools=tools,
|
tools=tools,
|
||||||
system_prompt=system_prompt,
|
system_prompt=bot_user.system_prompt + "\n\n" + system_prompt,
|
||||||
max_iterations=settings.DISCORD_MAX_TOOL_CALLS,
|
max_iterations=settings.DISCORD_MAX_TOOL_CALLS,
|
||||||
).response
|
).response
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user