fix(core): present the project dir to the model as the App Data Dir in the default system prompt (#61)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -179,6 +179,13 @@ export const putAgentConfig = (
|
||||
{ method: "PUT", body },
|
||||
);
|
||||
|
||||
/** Overwrite system_config.yaml with the current defaults (keeps only name/description/version). */
|
||||
export const resetAgentConfig = (projectId: string, agentId: string) =>
|
||||
apiFetch<AgentConfigResponse>(
|
||||
`/api/projects/${encodeURIComponent(projectId)}/agents/${encodeURIComponent(agentId)}/config/reset`,
|
||||
{ method: "POST" },
|
||||
);
|
||||
|
||||
export const getAgentTraces = (projectId: string, agentId: string) =>
|
||||
apiFetch<AgentTracesResponse>(
|
||||
`/api/projects/${encodeURIComponent(projectId)}/agents/${encodeURIComponent(agentId)}/traces`,
|
||||
|
||||
Reference in New Issue
Block a user