Replies: 1 comment
-
|
Hi Smile0524, You can introduce custom middleware to add information to the system prompt about the current working directory + any other relevant context. We do this in the deepagents-cli (you can check out the LocalContextMiddleware). it adds a bunch of useful context to make it easy for the agent to work on coding tasks.
Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When the python script is executed in the localshell, the command in the execute of the localshellbackend often generates an incorrect path. Because the absolute path cannot be obtained during the deployment,so i can not specify an absolute path in the code.Relying solely on the llm to ensure the correctness of the script execution path is extremely unstable.
Beta Was this translation helpful? Give feedback.
All reactions