{ "version": 1, "caseName": "conversation-session-upstream-workspace-smoke", "spec": "./test/e2e/conversation-session/runtime/conversation-session-upstream-workspace-smoke.test.ts", "fixtures": [ { "id": "upstream-workspace-smoke-title", "description": "Upstream workspace smoke 内的标题生成固定响应,避免严格 case-local replay 依赖 legacy provider-basic。", "metadata": { "kind": "common", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "标题生成不是本 case 的产品语义,只需要稳定返回,防止标题请求误命中首发业务 fixture。" }, "match": { "method": "POST", "pathIncludes": "/messages", "bodyIncludes": ["Generate a concise title"] }, "response": { "statusCode": 200, "statusMessage": "OK", "headers": { "content-type": "application/json; charset=utf-8" }, "body": "{\"id\":\"upstream-e2e-workspace-smoke-title\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-flash\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Upstream Workspace Smoke\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":125,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":24,\"service_tier\":\"standard\"}}" } }, { "id": "upstream-workspace-smoke-first-send", "description": "I07 默认工作区首发普通文本的固定最终回复,配合抓包断言真实请求模型和 prompt。", "metadata": { "kind": "main", "timingPolicy": "fast-text", "source": "synthetic", "syntheticReason": "核心断言在模型列表、请求 body/model/thought 和 UI 回复;响应只需稳定完成并包含约定文本。" }, "maxMatches": 1, "match": { "method": "POST", "pathIncludes": "/messages", "lastUserMessageIncludes": ["E2E_UPSTREAM_WORKSPACE_SMOKE"], "bodyIncludes": ["E2E_UPSTREAM_WORKSPACE_SMOKE", "upstream-e2e-ok"], "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"] }, "response": { "statusCode": 200, "statusMessage": "OK", "text": { "id": "upstream-e2e-workspace-smoke-first-send", "inputTokens": 128, "outputTokens": 12, "text": "upstream-e2e-ok" } } } ] }