Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(agent): sync generated observability contracts (#37597)

zyssyz123bc825f94b506
diff --git a/api/openapi/markdown/console-openapi.md b/api/openapi/markdown/console-openapi.md
index ff0f4337a28..a559a526e75 100644
--- a/api/openapi/markdown/console-openapi.md
+++ b/api/openapi/markdown/console-openapi.md
@@ -663,7 +663,7 @@ Commit an uploaded file into the Agent App drive under files/<name>
| Name | Located in | Description | Required | Schema |
| ---- | ---------- | ----------- | -------- | ------ |
-| agent_id | path | | Yes | string |
+| agent_id | path | | Yes | string (uuid) |
#### Responses
@@ -703,8 +703,8 @@ Commit an uploaded file into the Agent App drive under files/<name>
| source | query | Filter by all, console/explore, api/service-api, web-app, debugger, openapi, or trigger | No | string |
| start | query | Start date (YYYY-MM-DD HH:MM) | No | string |
| status | query | Filter by success, failed, or paused | No | string |
-| agent_id | path | | Yes | string |
-| conversation_id | path | | Yes | string |
+| agent_id | path | | Yes | string (uuid) |
+| conversation_id | path | | Yes | string (uuid) |
#### Responses
diff --git a/packages/contracts/generated/api/console/agent/zod.gen.ts b/packages/contracts/generated/api/console/agent/zod.gen.ts
index 7f3f711360b..07e753e0c9b 100644
--- a/packages/contracts/generated/api/console/agent/zod.gen.ts
+++ b/packages/contracts/generated/api/console/agent/zod.gen.ts
@@ -2347,7 +2347,7 @@ export const zPostAgentByAgentIdFilesPath = z.object({
export const zPostAgentByAgentIdFilesResponse = zAgentDriveFileCommitResponse
export const zGetAgentByAgentIdLogSourcesPath = z.object({
- agent_id: z.string(),
+ agent_id: z.uuid(),
})
/**
@@ -2375,8 +2375,8 @@ export const zGetAgentByAgentIdLogsQuery = z.object({
export const zGetAgentByAgentIdLogsResponse = zAgentLogListResponse
export const zGetAgentByAgentIdLogsByConversationIdMessagesPath = z.object({
- agent_id: z.string(),
- conversation_id: z.string(),
+ agent_id: z.uuid(),
+ conversation_id: z.uuid(),
})
export const zGetAgentByAgentIdLogsByConversationIdMessagesQuery = z.object({