Skip to main content

invoke_project_chat

Function invoke_project_chat 

Source
pub async fn invoke_project_chat(
    agent: &str,
    model: &str,
    context: &str,
    message: &str,
    project: &Path,
) -> Result<InvokeResult>
Expand description

A project chat turn. The agent runs in the project folder inside sandbox-jail, which lets it write only its temp dir and hides the rest of the home and every credential, and it may run PROJECT_CHAT_TOOLS and nothing else. Its context holds issue text anyone can write