对齐Debug EML V4入站模型
This commit is contained in:
@@ -17,8 +17,8 @@ public class SuperAgentOpenApiProperties {
|
||||
private String baseUrl = "";
|
||||
/** SuperAgent Open API Key。 */
|
||||
private String apiKey = "";
|
||||
/** Debug EML 创建 session 时使用的 external_subject_id。 */
|
||||
private String externalSubjectId = "th-hotel-debug-eml-upload";
|
||||
/** Debug EML 创建 session 时使用的 external_subject_id;默认对齐实时 AgentBus V4 profile。 */
|
||||
private String externalSubjectId = "th-hotel-agentbus-source-message";
|
||||
/** AgentBus 自动分发创建 session 时使用的 external_subject_id。 */
|
||||
private String agentbusExternalSubjectId = "th-hotel-agentbus-source-message";
|
||||
/** 建立连接超时。 */
|
||||
|
||||
@@ -157,7 +157,7 @@ public class DebugEmlSuperAgentRunServiceImpl implements DebugEmlSuperAgentRunSe
|
||||
}
|
||||
|
||||
/**
|
||||
* 处理单封 Debug EML 上传;第一版只展示 SuperAgent 结果,不创建订单或任务。
|
||||
* 处理单封 Debug EML 上传;本服务只展示 SuperAgent 结果,业务模型写入仍由正式回调 / MCP 负责。
|
||||
*/
|
||||
@Override
|
||||
public DebugEmlSuperAgentRunResult uploadAndRun(
|
||||
@@ -1098,7 +1098,7 @@ public class DebugEmlSuperAgentRunServiceImpl implements DebugEmlSuperAgentRunSe
|
||||
putIfNotNull(debugContext, "original_conversation_id", originalConversationId);
|
||||
|
||||
Map<String, Object> metadata = new LinkedHashMap<>();
|
||||
metadata.put("source", "th-hotel-debug-eml-upload");
|
||||
metadata.put("source", "th-hotel-debug-eml-v4-upload");
|
||||
putIfNotNull(metadata, "debug_run_id", runId == null ? null : runId.toString());
|
||||
putIfNotNull(metadata, "source_message_id", sourceMessageId == null ? null : sourceMessageId.toString());
|
||||
putIfNotNull(metadata, "hotel_id", hotelId);
|
||||
|
||||
Reference in New Issue
Block a user