Merge pull request #141 from aaaaron/integrate-opencode-pr62

Integrate opencode pr62 & pr104
This commit is contained in:
Dotta
2026-03-06 11:32:03 -06:00
committed by GitHub
39 changed files with 1272 additions and 606 deletions

View File

@@ -117,7 +117,10 @@ export const agentsApi = {
api.get<AgentTaskSession[]>(agentPath(id, companyId, "/task-sessions")),
resetSession: (id: string, taskKey?: string | null, companyId?: string) =>
api.post<void>(agentPath(id, companyId, "/runtime-state/reset-session"), { taskKey: taskKey ?? null }),
adapterModels: (type: string) => api.get<AdapterModel[]>(`/adapters/${type}/models`),
adapterModels: (companyId: string, type: string) =>
api.get<AdapterModel[]>(
`/companies/${encodeURIComponent(companyId)}/adapters/${encodeURIComponent(type)}/models`,
),
testEnvironment: (
companyId: string,
type: string,