What do you want to change?
System prompt about Pi docs and examples folder path
Why?
Agent is confused when asked to read Pi documentation. It seems that the path mentioned on the system prompt is relative to current working directory where Pi is executed, causing the agent to look at the folder that does not exist.
How? (optional)
Under system prompt, set all items under "when asked about" section to absolute paths by reusing docsPath variable. Using docsPath ensures that the agent would look at the docs/example folder where pi is installed.
Example:
docs/<file>.md --> ${docsPath}/<file>.md
What do you want to change?
System prompt about Pi docs and examples folder path
Why?
Agent is confused when asked to read Pi documentation. It seems that the path mentioned on the system prompt is relative to current working directory where Pi is executed, causing the agent to look at the folder that does not exist.
How? (optional)
Under system prompt, set all items under "when asked about" section to absolute paths by reusing
docsPathvariable. UsingdocsPathensures that the agent would look at the docs/example folder wherepiis installed.Example:
docs/<file>.md-->${docsPath}/<file>.md