mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-16 23:08:51 +00:00
done
This commit is contained in:
parent
39d3340b97
commit
7a24effb62
@ -2713,11 +2713,13 @@ The AI should respond in this format using data from actions_list:
|
||||
context,
|
||||
f"!@>instructions:"
|
||||
f"{instructions}",
|
||||
"Do not provide usage example.",
|
||||
"Do not ask the user to update the code. This code should be self sufficient.",
|
||||
f"Here is the signature of the function:\n{execution_function_signature}",
|
||||
"Don't call the function, just write it",
|
||||
f"!@>coder: Here is the function code that performs exactly what you have asked me to do:",
|
||||
"Do not provide usage example.",
|
||||
"Do not ask the user to update the code. This code should be self sufficient.",
|
||||
"You don't have the right to ask the user to fill in any thing",
|
||||
"write a completely working function",
|
||||
f"!@>coder: Here is the function code that performs exactly what you have asked me to do without extra comments:",
|
||||
"```python\n"
|
||||
],2), callback=self.sink)
|
||||
code = code.replace("```python\n```python\n", "```python\n").replace("```\n```","```")
|
||||
|
Loading…
x
Reference in New Issue
Block a user