|
|
|
|
|
by spacephysics
21 days ago
|
|
You can just make the tool calls restricted/scoped to whatever the calling account has access to (or in this case the repo) That way even if the LLM broke out of the system prompt the worst case would be similar to a 404 or 401. Why are we giving these processes super user access? No reason to have the executing loop/chat turns/tool calls be scoped to anything but the narrowest permissions. If the agent truly needs data/permutations across different accounts or repos, treat the tool calls like any other API that needs to do that kind of work pre-LLM |
|
This is a fix for the harness, not the model.
As an analogy to SQL, this is like "fixing" SQL injections by having JS on the frontend escape/sanitise the values sent to the backend, while the backend does not use parameterised statements.
The harness is the front-end, the model is the backend. There is no way to currently fix the backend with parameterised prompts.