Title: Chatflow的 "workflow_started"、"node_started"等事件实体类缺少conversation_id字段 · Issue #145 · imfangs/dify-java-client · GitHub
Open Graph Title: Chatflow的 "workflow_started"、"node_started"等事件实体类缺少conversation_id字段 · Issue #145 · imfangs/dify-java-client
X Title: Chatflow的 "workflow_started"、"node_started"等事件实体类缺少conversation_id字段 · Issue #145 · imfangs/dify-java-client
Description: 直接调用dify的http接口是能返回conversation_id的: 查看源码,发现只有BaseMessageEvent的子类才会有这个字段,而BaseWorkflowEvent的子类则缺失这个字段,因此sdk前几个SSE事件都无法获取到本次对话的conversation_id,只能等到MessageEvent出现的时候,才能获取到
Open Graph Description: 直接调用dify的http接口是能返回conversation_id的: 查看源码,发现只有BaseMessageEvent的子类才会有这个字段,而BaseWorkflowEvent的子类则缺失这个字段,因此sdk前几个SSE事件都无法获取到本次对话的conversation_id,只能等到MessageEvent出现的时候,才能获取到
X Description: 直接调用dify的http接口是能返回conversation_id的: 查看源码,发现只有BaseMessageEvent的子类才会有这个字段,而BaseWorkflowEvent的子类则缺失这个字段,因此sdk前几个SSE事件都无法获取到本次对话的conversation_id,只能等到MessageEvent出现的时候,才能获取到
Opengraph URL: https://github.com/imfangs/dify-java-client/issues/145
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Chatflow的 \"workflow_started\"、\"node_started\"等事件实体类缺少conversation_id字段","articleBody":"直接调用dify的http接口是能返回conversation_id的:\n\u003cimg width=\"820\" height=\"103\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e2a66f52-f1b8-469c-9c1b-e1131f589cb0\" /\u003e\n\n查看源码,发现只有BaseMessageEvent的子类才会有这个字段,而BaseWorkflowEvent的子类则缺失这个字段,因此sdk前几个SSE事件都无法获取到本次对话的conversation_id,只能等到MessageEvent出现的时候,才能获取到","author":{"url":"https://github.com/pg-lewis","@type":"Person","name":"pg-lewis"},"datePublished":"2026-01-04T07:30:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/145/dify-java-client/issues/145"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2c3f5878-3d8e-32a9-f22e-d9e46ffec9d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B90A:3889EE:12069A:17D2D4:6A5EC5F9 |
| html-safe-nonce | 3709623b12665be0d0b417d8c576b30d743bd3c7193e8ae166520ef7a109e56c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTBBOjM4ODlFRToxMjA2OUE6MTdEMkQ0OjZBNUVDNUY5IiwidmlzaXRvcl9pZCI6IjY4ODIwODg3OTY0MjY1ODI5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad44ce27746a70e00ef381a82eadae53bfe97295df3db7b1f6514569851656c4 |
| hovercard-subject-tag | issue:3778951540 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/imfangs/dify-java-client/145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ed283a17625a380f6c3648dbe483c21be16a3b27effb9be74502818575dfc60/imfangs/dify-java-client/issues/145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ed283a17625a380f6c3648dbe483c21be16a3b27effb9be74502818575dfc60/imfangs/dify-java-client/issues/145 |
| og:image:alt | 直接调用dify的http接口是能返回conversation_id的: 查看源码,发现只有BaseMessageEvent的子类才会有这个字段,而BaseWorkflowEvent的子类则缺失这个字段,因此sdk前几个SSE事件都无法获取到本次对话的conversation_id,只能等到MessageEvent出现的时候,才能获取到 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pg-lewis |
| hostname | github.com |
| expected-hostname | github.com |
| None | fbe2b3a3baf2f0e0ac1671a4d190d9de098dcf218eb73137ad46da364d3df398 |
| turbo-cache-control | no-preview |
| go-import | github.com/imfangs/dify-java-client git https://github.com/imfangs/dify-java-client.git |
| octolytics-dimension-user_id | 1396696 |
| octolytics-dimension-user_login | imfangs |
| octolytics-dimension-repository_id | 948346665 |
| octolytics-dimension-repository_nwo | imfangs/dify-java-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 948346665 |
| octolytics-dimension-repository_network_root_nwo | imfangs/dify-java-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0cd844a7ab298ec8d89b66ef4b195d158229d335 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width