@overmap-ai/core 1.0.53-add-agent-slice.1 → 1.0.53-add-agent-sdk.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/overmap-core.js +10 -0
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +10 -0
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/services/AgentService.d.ts +3 -11
- package/dist/typings/models/agents.d.ts +17 -0
- package/dist/typings/models/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/overmap-core.js
CHANGED
|
@@ -8489,6 +8489,16 @@ class AgentService extends BaseApiService {
|
|
|
8489
8489
|
queryParams: conversationId ? { conversation_id: conversationId } : {}
|
|
8490
8490
|
});
|
|
8491
8491
|
}
|
|
8492
|
+
async fetchAll() {
|
|
8493
|
+
const activeProjectId = this.client.store.getState().projectReducer.activeProjectId;
|
|
8494
|
+
return this.enqueueRequest({
|
|
8495
|
+
description: "Fetch agent conversations",
|
|
8496
|
+
method: HttpMethod.GET,
|
|
8497
|
+
url: `/projects/${activeProjectId}/agents-conversations/`,
|
|
8498
|
+
blockers: ["fetch-agent-conversations"],
|
|
8499
|
+
blocks: ["fetch-agent-conversations"]
|
|
8500
|
+
});
|
|
8501
|
+
}
|
|
8492
8502
|
async rate(responseId, rating) {
|
|
8493
8503
|
return this.enqueueRequest({
|
|
8494
8504
|
description: "Rate agent response",
|