@ouraihub/aether-ui 0.0.0-stage → 0.1.0

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.
Files changed (179) hide show
  1. package/LICENSE +789 -0
  2. package/fixtures/model-classify.json +42 -0
  3. package/fixtures/pricing-cost.json +56 -0
  4. package/fixtures/reasoning-infer.json +44 -0
  5. package/fixtures/sse/anthropic-messages/chinese.sse +24 -0
  6. package/fixtures/sse/anthropic-messages/multi-tool.sse +33 -0
  7. package/fixtures/sse/anthropic-messages/single-tool.sse +39 -0
  8. package/fixtures/sse/anthropic-messages/text.sse +27 -0
  9. package/fixtures/sse/anthropic-messages/truncated.sse +21 -0
  10. package/fixtures/sse/anthropic-messages/upstream-error.sse +12 -0
  11. package/fixtures/sse/expect.json +20 -0
  12. package/fixtures/sse/openai-chat/chinese.sse +14 -0
  13. package/fixtures/sse/openai-chat/multi-tool.sse +18 -0
  14. package/fixtures/sse/openai-chat/single-tool.sse +22 -0
  15. package/fixtures/sse/openai-chat/text.sse +14 -0
  16. package/fixtures/sse/openai-chat/truncated.sse +12 -0
  17. package/fixtures/sse/openai-chat/upstream-error.sse +6 -0
  18. package/fixtures/sse/openai-responses/chinese.sse +33 -0
  19. package/fixtures/sse/openai-responses/multi-tool.sse +36 -0
  20. package/fixtures/sse/openai-responses/single-tool.sse +27 -0
  21. package/fixtures/sse/openai-responses/text.sse +33 -0
  22. package/fixtures/sse/openai-responses/truncated.sse +30 -0
  23. package/fixtures/sse/openai-responses/upstream-error.sse +9 -0
  24. package/package.json +71 -3
  25. package/src/CopyInput.svelte +33 -0
  26. package/src/KitNotifier.svelte +33 -0
  27. package/src/chat/ApprovalCard.svelte +23 -0
  28. package/src/chat/ChatPanel.svelte +2097 -0
  29. package/src/chat/MessageItem.svelte +583 -0
  30. package/src/chat/SkillPicker.svelte +126 -0
  31. package/src/chat/ToolCallItem.svelte +23 -0
  32. package/src/chat/UsageDetails.svelte +138 -0
  33. package/src/chat/index.ts +2 -0
  34. package/src/chat/run-session.svelte.ts +556 -0
  35. package/src/components/ui/alert/alert-action.svelte +20 -0
  36. package/src/components/ui/alert/alert-description.svelte +23 -0
  37. package/src/components/ui/alert/alert-title.svelte +23 -0
  38. package/src/components/ui/alert/alert.svelte +43 -0
  39. package/src/components/ui/alert/index.ts +17 -0
  40. package/src/components/ui/alert-dialog/alert-dialog-action.svelte +27 -0
  41. package/src/components/ui/alert-dialog/alert-dialog-cancel.svelte +27 -0
  42. package/src/components/ui/alert-dialog/alert-dialog-content.svelte +32 -0
  43. package/src/components/ui/alert-dialog/alert-dialog-description.svelte +17 -0
  44. package/src/components/ui/alert-dialog/alert-dialog-footer.svelte +23 -0
  45. package/src/components/ui/alert-dialog/alert-dialog-header.svelte +20 -0
  46. package/src/components/ui/alert-dialog/alert-dialog-media.svelte +20 -0
  47. package/src/components/ui/alert-dialog/alert-dialog-overlay.svelte +17 -0
  48. package/src/components/ui/alert-dialog/alert-dialog-portal.svelte +7 -0
  49. package/src/components/ui/alert-dialog/alert-dialog-title.svelte +17 -0
  50. package/src/components/ui/alert-dialog/alert-dialog-trigger.svelte +7 -0
  51. package/src/components/ui/alert-dialog/alert-dialog.svelte +7 -0
  52. package/src/components/ui/alert-dialog/index.ts +40 -0
  53. package/src/components/ui/button/button.svelte +81 -0
  54. package/src/components/ui/button/index.ts +17 -0
  55. package/src/components/ui/dialog/dialog-close.svelte +11 -0
  56. package/src/components/ui/dialog/dialog-content.svelte +48 -0
  57. package/src/components/ui/dialog/dialog-description.svelte +17 -0
  58. package/src/components/ui/dialog/dialog-footer.svelte +32 -0
  59. package/src/components/ui/dialog/dialog-header.svelte +20 -0
  60. package/src/components/ui/dialog/dialog-overlay.svelte +17 -0
  61. package/src/components/ui/dialog/dialog-portal.svelte +7 -0
  62. package/src/components/ui/dialog/dialog-title.svelte +17 -0
  63. package/src/components/ui/dialog/dialog-trigger.svelte +11 -0
  64. package/src/components/ui/dialog/dialog.svelte +7 -0
  65. package/src/components/ui/dialog/index.ts +34 -0
  66. package/src/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte +16 -0
  67. package/src/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +46 -0
  68. package/src/components/ui/dropdown-menu/dropdown-menu-content.svelte +31 -0
  69. package/src/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte +22 -0
  70. package/src/components/ui/dropdown-menu/dropdown-menu-group.svelte +7 -0
  71. package/src/components/ui/dropdown-menu/dropdown-menu-item.svelte +27 -0
  72. package/src/components/ui/dropdown-menu/dropdown-menu-label.svelte +24 -0
  73. package/src/components/ui/dropdown-menu/dropdown-menu-portal.svelte +7 -0
  74. package/src/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte +17 -0
  75. package/src/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +36 -0
  76. package/src/components/ui/dropdown-menu/dropdown-menu-separator.svelte +17 -0
  77. package/src/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte +20 -0
  78. package/src/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +31 -0
  79. package/src/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +29 -0
  80. package/src/components/ui/dropdown-menu/dropdown-menu-sub.svelte +7 -0
  81. package/src/components/ui/dropdown-menu/dropdown-menu-trigger.svelte +7 -0
  82. package/src/components/ui/dropdown-menu/dropdown-menu.svelte +7 -0
  83. package/src/components/ui/dropdown-menu/index.ts +54 -0
  84. package/src/components/ui/empty/empty-content.svelte +23 -0
  85. package/src/components/ui/empty/empty-description.svelte +23 -0
  86. package/src/components/ui/empty/empty-header.svelte +20 -0
  87. package/src/components/ui/empty/empty-media.svelte +41 -0
  88. package/src/components/ui/empty/empty-title.svelte +20 -0
  89. package/src/components/ui/empty/empty.svelte +23 -0
  90. package/src/components/ui/empty/index.ts +22 -0
  91. package/src/components/ui/field/field-content.svelte +20 -0
  92. package/src/components/ui/field/field-description.svelte +25 -0
  93. package/src/components/ui/field/field-error.svelte +58 -0
  94. package/src/components/ui/field/field-group.svelte +23 -0
  95. package/src/components/ui/field/field-label.svelte +25 -0
  96. package/src/components/ui/field/field-legend.svelte +24 -0
  97. package/src/components/ui/field/field-separator.svelte +35 -0
  98. package/src/components/ui/field/field-set.svelte +20 -0
  99. package/src/components/ui/field/field-title.svelte +20 -0
  100. package/src/components/ui/field/field.svelte +47 -0
  101. package/src/components/ui/field/index.ts +33 -0
  102. package/src/components/ui/input/index.ts +7 -0
  103. package/src/components/ui/input/input.svelte +48 -0
  104. package/src/components/ui/label/index.ts +7 -0
  105. package/src/components/ui/label/label.svelte +20 -0
  106. package/src/components/ui/select/index.ts +40 -0
  107. package/src/components/ui/select/select-content.svelte +45 -0
  108. package/src/components/ui/select/select-group-heading.svelte +21 -0
  109. package/src/components/ui/select/select-group.svelte +17 -0
  110. package/src/components/ui/select/select-item.svelte +43 -0
  111. package/src/components/ui/select/select-label.svelte +20 -0
  112. package/src/components/ui/select/select-portal.svelte +7 -0
  113. package/src/components/ui/select/select-scroll-down-button.svelte +20 -0
  114. package/src/components/ui/select/select-scroll-up-button.svelte +20 -0
  115. package/src/components/ui/select/select-separator.svelte +18 -0
  116. package/src/components/ui/select/select-trigger.svelte +29 -0
  117. package/src/components/ui/select/select-value.svelte +7 -0
  118. package/src/components/ui/select/select.svelte +11 -0
  119. package/src/components/ui/separator/index.ts +7 -0
  120. package/src/components/ui/separator/separator.svelte +21 -0
  121. package/src/components/ui/sonner/index.ts +1 -0
  122. package/src/components/ui/sonner/sonner.svelte +40 -0
  123. package/src/components/ui/switch/index.ts +7 -0
  124. package/src/components/ui/switch/switch.svelte +34 -0
  125. package/src/components/ui/textarea/index.ts +7 -0
  126. package/src/components/ui/textarea/textarea.svelte +22 -0
  127. package/src/context.ts +34 -0
  128. package/src/dev/Demo.svelte +45 -0
  129. package/src/dev/main.ts +7 -0
  130. package/src/i18n/en.ts +617 -0
  131. package/src/i18n/index.ts +23 -0
  132. package/src/i18n/zh-CN.ts +599 -0
  133. package/src/index.ts +10 -0
  134. package/src/logs/LogPanel.svelte +97 -0
  135. package/src/logs/LogSettings.svelte +56 -0
  136. package/src/logs/index.ts +5 -0
  137. package/src/logs/logger.ts +96 -0
  138. package/src/markdown.ts +8 -0
  139. package/src/mcp/McpClientSettings.svelte +491 -0
  140. package/src/mcp/McpServerSettings.svelte +327 -0
  141. package/src/mcp/config.ts +26 -0
  142. package/src/mcp/index.ts +3 -0
  143. package/src/mcp/input.ts +73 -0
  144. package/src/notify.svelte.ts +43 -0
  145. package/src/ports/contract.ts +165 -0
  146. package/src/ports/fake.ts +484 -0
  147. package/src/ports/index.ts +7 -0
  148. package/src/ports/search.ts +47 -0
  149. package/src/ports/skill-sources.ts +45 -0
  150. package/src/providers/EndpointKeysDialog.svelte +343 -0
  151. package/src/providers/EndpointPanel.svelte +491 -0
  152. package/src/providers/ModelPickerDialog.svelte +187 -0
  153. package/src/providers/ModelSelect.svelte +434 -0
  154. package/src/providers/ModelSettingsDialog.svelte +453 -0
  155. package/src/providers/ProvidersSettings.svelte +631 -0
  156. package/src/providers/RequestConfigDialog.svelte +250 -0
  157. package/src/providers/SecretInput.svelte +276 -0
  158. package/src/providers/draft.ts +329 -0
  159. package/src/providers/edit-session.ts +146 -0
  160. package/src/providers/index.ts +5 -0
  161. package/src/providers/reasoning.ts +41 -0
  162. package/src/providers/revision.svelte.ts +4 -0
  163. package/src/search/SearchSettings.svelte +703 -0
  164. package/src/search/index.ts +13 -0
  165. package/src/search/settings-flow.ts +62 -0
  166. package/src/session.ts +20 -0
  167. package/src/skills/SkillAdd.svelte +347 -0
  168. package/src/skills/SkillAuthoring.svelte +381 -0
  169. package/src/skills/SkillEditor.svelte +94 -0
  170. package/src/skills/SkillPreviewDialog.svelte +122 -0
  171. package/src/skills/SkillsSettings.svelte +140 -0
  172. package/src/skills/error.ts +32 -0
  173. package/src/skills/index.ts +4 -0
  174. package/src/styles/kit.css +137 -0
  175. package/src/styles/tokens.css +22 -0
  176. package/src/tauri/index.ts +282 -0
  177. package/src/utils.ts +22 -0
  178. package/src/web/index.ts +376 -0
  179. package/README.md +0 -3
@@ -0,0 +1,42 @@
1
+ [
2
+ { "id": "claude-sonnet-4-5-20250929", "modelType": "chat", "contextWindow": 200000, "maxOutput": 8192, "canVision": true, "supportsTools": true, "group": "claude" },
3
+ { "id": "anthropic/claude-3-5-haiku", "modelType": "chat", "contextWindow": 200000, "maxOutput": 8192, "canVision": true, "supportsTools": true, "group": "claude" },
4
+ { "id": "gpt-4o", "modelType": "chat", "contextWindow": 128000, "maxOutput": 16384, "canVision": true, "supportsTools": true, "group": "gpt" },
5
+ { "id": "GPT-5", "modelType": "chat", "contextWindow": 128000, "maxOutput": 16384, "canVision": true, "supportsTools": true, "group": "gpt" },
6
+ { "id": "gpt-3.5-turbo", "modelType": "chat", "contextWindow": 16385, "maxOutput": 4096, "canVision": false, "supportsTools": true, "group": "gpt" },
7
+ { "id": "o1", "modelType": "chat", "contextWindow": 200000, "maxOutput": 100000, "canVision": true, "supportsTools": true, "group": "o" },
8
+ { "id": "o3-mini", "modelType": "chat", "contextWindow": 200000, "maxOutput": 100000, "canVision": true, "supportsTools": true, "group": "o" },
9
+ { "id": "omni-moderation-latest", "modelType": "chat", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
10
+ { "id": "gemini-2.5-pro", "modelType": "chat", "contextWindow": 1048576, "maxOutput": 8192, "canVision": true, "supportsTools": true, "group": "gemini" },
11
+ { "id": "models/gemini-1.5-flash", "modelType": "chat", "contextWindow": 1048576, "maxOutput": 8192, "canVision": true, "supportsTools": true, "group": "gemini" },
12
+ { "id": "deepseek-chat", "modelType": "chat", "contextWindow": 128000, "maxOutput": 8192, "canVision": false, "supportsTools": true, "group": "deepseek" },
13
+ { "id": "deepseek-ai/DeepSeek-V3", "modelType": "chat", "contextWindow": 128000, "maxOutput": 8192, "canVision": false, "supportsTools": true, "group": "deepseek" },
14
+ { "id": "qwen-max", "modelType": "chat", "contextWindow": 131072, "maxOutput": 8192, "canVision": false, "supportsTools": true, "group": "qwen" },
15
+ { "id": "Qwen/Qwen2.5-72B-Instruct", "modelType": "chat", "contextWindow": 131072, "maxOutput": 8192, "canVision": false, "supportsTools": true, "group": "qwen" },
16
+ { "id": "glm-4-plus", "modelType": "chat", "contextWindow": 128000, "maxOutput": 4096, "canVision": false, "supportsTools": true, "group": "glm" },
17
+ { "id": "qwen-vl-max", "modelType": "chat", "contextWindow": 131072, "maxOutput": 8192, "canVision": true, "supportsTools": true, "group": "qwen" },
18
+ { "id": "Qwen/Qwen2.5-VL-72B-Instruct", "modelType": "chat", "contextWindow": 131072, "maxOutput": 8192, "canVision": true, "supportsTools": true, "group": "qwen" },
19
+ { "id": "glm-4v-plus", "modelType": "chat", "contextWindow": 128000, "maxOutput": 4096, "canVision": true, "supportsTools": true, "group": "glm" },
20
+ { "id": "llama-3.2-90b-vision-instruct", "modelType": "chat", "contextWindow": null, "maxOutput": null, "canVision": true, "supportsTools": null, "group": null },
21
+ { "id": "kimi-k2-0905-preview", "modelType": "chat", "contextWindow": 131072, "maxOutput": 8192, "canVision": false, "supportsTools": true, "group": "kimi" },
22
+ { "id": "moonshot-v1-8k", "modelType": "chat", "contextWindow": 8192, "maxOutput": 4096, "canVision": false, "supportsTools": true, "group": "moonshot" },
23
+ { "id": "moonshot-v1-32k", "modelType": "chat", "contextWindow": 32768, "maxOutput": 4096, "canVision": false, "supportsTools": true, "group": "moonshot" },
24
+ { "id": "moonshot-v1-128k", "modelType": "chat", "contextWindow": 131072, "maxOutput": 4096, "canVision": false, "supportsTools": true, "group": "moonshot" },
25
+ { "id": "llama-3.1-70b-instruct", "modelType": "chat", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
26
+ { "id": "text-embedding-3-small", "modelType": "embedding", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
27
+ { "id": "gemini-embedding-001", "modelType": "embedding", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": "gemini" },
28
+ { "id": "BAAI/bge-reranker-v2-m3", "modelType": "rerank", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
29
+ { "id": "tts-1", "modelType": "tts", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
30
+ { "id": "gpt-4o-mini-tts", "modelType": "tts", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": "gpt" },
31
+ { "id": "speech-02-hd", "modelType": "tts", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
32
+ { "id": "whisper-1", "modelType": "stt", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
33
+ { "id": "stt-large", "modelType": "stt", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
34
+ { "id": "gpt-4o-transcribe", "modelType": "stt", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": "gpt" },
35
+ { "id": "dall-e-3", "modelType": "image", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
36
+ { "id": "gpt-image-1", "modelType": "image", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": "gpt" },
37
+ { "id": "black-forest-labs/FLUX.1-schnell", "modelType": "image", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
38
+ { "id": "imagen-4.0-generate-001", "modelType": "image", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
39
+ { "id": "sora-2", "modelType": "video", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
40
+ { "id": "veo-3.0-generate-preview", "modelType": "video", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null },
41
+ { "id": "kling-video-v2", "modelType": "video", "contextWindow": null, "maxOutput": null, "canVision": false, "supportsTools": null, "group": null }
42
+ ]
@@ -0,0 +1,56 @@
1
+ [
2
+ {
3
+ "name": "single tier",
4
+ "pricing": { "currency": "USD", "tiers": [{ "minInputTokens": 0, "input": 3, "output": 15, "cacheRead": null, "cacheWrite": null }] },
5
+ "rounds": [{ "inputTokens": 1000, "outputTokens": 500, "cacheReadTokens": null, "cacheWriteTokens": null, "reasoningTokens": null }],
6
+ "cost": 0.0105
7
+ },
8
+ {
9
+ "name": "tier boundary equal counts in upper tier",
10
+ "pricing": {
11
+ "currency": "USD",
12
+ "tiers": [
13
+ { "minInputTokens": 0, "input": 2, "output": 8, "cacheRead": null, "cacheWrite": null },
14
+ { "minInputTokens": 200000, "input": 4, "output": 16, "cacheRead": null, "cacheWrite": null }
15
+ ]
16
+ },
17
+ "rounds": [{ "inputTokens": 200000, "outputTokens": 1000, "cacheReadTokens": null, "cacheWriteTokens": null, "reasoningTokens": null }],
18
+ "cost": 0.816
19
+ },
20
+ {
21
+ "name": "two rounds crossing tier",
22
+ "pricing": {
23
+ "currency": "USD",
24
+ "tiers": [
25
+ { "minInputTokens": 0, "input": 2, "output": 8, "cacheRead": null, "cacheWrite": null },
26
+ { "minInputTokens": 200000, "input": 4, "output": 16, "cacheRead": null, "cacheWrite": null }
27
+ ]
28
+ },
29
+ "rounds": [
30
+ { "inputTokens": 150000, "outputTokens": 1000, "cacheReadTokens": null, "cacheWriteTokens": null, "reasoningTokens": null },
31
+ { "inputTokens": 250000, "outputTokens": 2000, "cacheReadTokens": null, "cacheWriteTokens": null, "reasoningTokens": 500 }
32
+ ],
33
+ "cost": 1.34
34
+ },
35
+ {
36
+ "name": "cache fallback to input",
37
+ "pricing": { "currency": "USD", "tiers": [{ "minInputTokens": 0, "input": 3, "output": 15, "cacheRead": null, "cacheWrite": null }] },
38
+ "rounds": [{ "inputTokens": 10000, "outputTokens": 100, "cacheReadTokens": 4000, "cacheWriteTokens": null, "reasoningTokens": null }],
39
+ "cost": 0.0315
40
+ },
41
+ {
42
+ "name": "cacheRead and cacheWrite",
43
+ "pricing": { "currency": "CNY", "tiers": [{ "minInputTokens": 0, "input": 3, "output": 15, "cacheRead": 0.3, "cacheWrite": 3.75 }] },
44
+ "rounds": [{ "inputTokens": 10000, "outputTokens": 500, "cacheReadTokens": 6000, "cacheWriteTokens": 2000, "reasoningTokens": null }],
45
+ "cost": 0.0228
46
+ },
47
+ {
48
+ "name": "missing output in any round is null",
49
+ "pricing": { "currency": "USD", "tiers": [{ "minInputTokens": 0, "input": 3, "output": 15, "cacheRead": null, "cacheWrite": null }] },
50
+ "rounds": [
51
+ { "inputTokens": 100, "outputTokens": 100, "cacheReadTokens": null, "cacheWriteTokens": null, "reasoningTokens": null },
52
+ { "inputTokens": 100, "outputTokens": null, "cacheReadTokens": null, "cacheWriteTokens": null, "reasoningTokens": null }
53
+ ],
54
+ "cost": null
55
+ }
56
+ ]
@@ -0,0 +1,44 @@
1
+ [
2
+ { "id": "claude-sonnet-4-5", "protocol": "openai-chat", "maxOutput": 8192, "expect": { "dialect": "openai", "efforts": ["none", "low", "medium", "high"] } },
3
+ { "id": "vendor/claude-opus-5-5", "protocol": "openai-chat", "maxOutput": 8192, "expect": { "dialect": "openai", "efforts": ["low", "medium", "high", "xhigh", "max"] } },
4
+ { "id": "claude-sonnet-5.5", "protocol": "openai-responses", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["none", "low", "medium", "high", "xhigh", "max"] } },
5
+ { "id": "claude-opus-4-6", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["none", "low", "medium", "high", "max"] } },
6
+ { "id": "claude-3-5-sonnet", "protocol": "openai-chat", "maxOutput": 8192, "expect": null },
7
+ { "id": "gpt-5-codex", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["low", "medium", "high"] } },
8
+ { "id": "gpt-5.1-codex", "protocol": "openai-responses", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["medium", "high"] } },
9
+ { "id": "gpt-5.1-codex-max", "protocol": "openai-responses", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["medium", "high", "xhigh"] } },
10
+ { "id": "openai/gpt-5.3-codex", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["low", "medium", "high", "xhigh"] } },
11
+ { "id": "grok-4.3", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["none", "low", "medium", "high"] } },
12
+ { "id": "x-ai/grok-4.6", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["low", "medium", "high", "xhigh"] } },
13
+ { "id": "grok-4.6-non-reasoning", "protocol": "openai-chat", "maxOutput": null, "expect": null },
14
+ { "id": "grok-3-mini", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["low", "high"] } },
15
+ { "id": "gpt-oss-120b", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["low", "medium", "high"] } },
16
+ { "id": "gpt-5", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["minimal", "low", "medium", "high"] } },
17
+ { "id": "gpt-5.1", "protocol": "openai-responses", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["none", "low", "medium", "high"] } },
18
+ { "id": "gpt-5.2", "protocol": "openai-responses", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["none", "low", "medium", "high", "xhigh"] } },
19
+ { "id": "gpt-5-chat-latest", "protocol": "openai-chat", "maxOutput": null, "expect": null },
20
+ { "id": "o3", "protocol": "openai-chat", "maxOutput": null, "expect": { "dialect": "openai", "efforts": ["low", "medium", "high"] } },
21
+ { "id": "o1-mini", "protocol": "openai-chat", "maxOutput": null, "expect": null },
22
+ { "id": "unknown", "protocol": "openai-chat", "maxOutput": 8192, "expect": null },
23
+ { "id": "anthropic/claude-opus-5-5", "protocol": "anthropic-messages", "maxOutput": 8192, "expect": { "dialect": "anthropic-adaptive", "efforts": ["low", "medium", "high", "xhigh", "max"] } },
24
+ { "id": "claude-sonnet-4-6", "protocol": "anthropic-messages", "maxOutput": 8192, "expect": { "dialect": "anthropic-adaptive", "efforts": ["none", "low", "medium", "high", "max"] } },
25
+ { "id": "vendor/claude-sonnet-4-5", "protocol": "anthropic-messages", "maxOutput": 4096, "expect": { "dialect": "anthropic-budget", "efforts": ["none", "low", "medium", "high"], "budgetTokens": 4095 } },
26
+ { "id": "claude-sonnet-4-5", "protocol": "anthropic-messages", "maxOutput": 1024, "expect": null },
27
+ { "id": "claude-3-5-sonnet", "protocol": "anthropic-messages", "maxOutput": 8192, "expect": null },
28
+ { "id": "claude-opus-4-9", "protocol": "anthropic-messages", "maxOutput": null, "expect": null },
29
+ { "id": "gpt-5", "protocol": "anthropic-messages", "maxOutput": null, "expect": null },
30
+ { "id": "grok-4.3", "protocol": "anthropic-messages", "maxOutput": null, "expect": null },
31
+ { "id": "deepseek-v4-pro", "protocol": "openai-chat", "baseUrl": "https://api.deepseek.com", "maxOutput": null, "expect": { "dialect": "thinking-type", "efforts": ["none", "low", "high", "max"] } },
32
+ { "id": "deepseek-chat", "protocol": "openai-chat", "baseUrl": "https://api.deepseek.com/v1", "maxOutput": null, "expect": { "dialect": "thinking-type", "efforts": ["none", "auto"] } },
33
+ { "id": "deepseek-v4-pro", "protocol": "openai-chat", "maxOutput": null, "expect": null },
34
+ { "id": "deepseek-v4-pro", "protocol": "openai-responses", "baseUrl": "https://api.deepseek.com", "maxOutput": null, "expect": null },
35
+ { "id": "glm-4.7", "protocol": "openai-chat", "baseUrl": "https://open.bigmodel.cn/api/paas/v4", "maxOutput": null, "expect": { "dialect": "thinking-type", "efforts": ["none", "auto"] } },
36
+ { "id": "glm-5.3", "protocol": "openai-chat", "baseUrl": "https://api.z.ai/api/paas/v4", "maxOutput": null, "expect": { "dialect": "thinking-type", "efforts": ["low", "high", "max"] } },
37
+ { "id": "doubao-seed-2-1-pro", "protocol": "openai-chat", "baseUrl": "https://ark.cn-beijing.volces.com/api/v3", "maxOutput": null, "expect": { "dialect": "thinking-type", "efforts": ["none", "auto"] } },
38
+ { "id": "kimi-k2.6", "protocol": "openai-chat", "baseUrl": "https://api.moonshot.cn/v1", "maxOutput": null, "expect": { "dialect": "thinking-type", "efforts": ["none", "auto"] } },
39
+ { "id": "kimi-k2.7-code", "protocol": "openai-chat", "baseUrl": "https://api.moonshot.cn/v1", "maxOutput": null, "expect": null },
40
+ { "id": "qwen3-max", "protocol": "openai-chat", "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1", "maxOutput": null, "expect": { "dialect": "qwen", "efforts": ["none", "auto", "low", "medium", "high", "max"], "budgetTokens": 81920 } },
41
+ { "id": "qwen3-32b", "protocol": "openai-chat", "baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1", "maxOutput": null, "expect": { "dialect": "qwen", "efforts": ["none", "auto", "low", "medium", "high", "max"], "budgetTokens": 38912 } },
42
+ { "id": "qwen3-coder-plus", "protocol": "openai-chat", "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1", "maxOutput": null, "expect": null },
43
+ { "id": "qwen3-max", "protocol": "openai-chat", "baseUrl": "https://notaliyuncs.com/v1", "maxOutput": null, "expect": null }
44
+ ]
@@ -0,0 +1,24 @@
1
+ event: message_start
2
+ data: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":18,"output_tokens":1}}}
3
+
4
+ event: content_block_start
5
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
6
+
7
+ event: content_block_delta
8
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"你好!"}}
9
+
10
+ event: content_block_delta
11
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"这是一段"}}
12
+
13
+ event: content_block_delta
14
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"中文回复。"}}
15
+
16
+ event: content_block_stop
17
+ data: {"type":"content_block_stop","index":0}
18
+
19
+ event: message_delta
20
+ data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"output_tokens":15}}
21
+
22
+ event: message_stop
23
+ data: {"type":"message_stop"}
24
+
@@ -0,0 +1,33 @@
1
+ event: message_start
2
+ data: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":530,"output_tokens":1}}}
3
+
4
+ event: content_block_start
5
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_01A09q90qw90lq917835lq9","name":"read_file","input":{}}}
6
+
7
+ event: content_block_delta
8
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"path\":"}}
9
+
10
+ event: content_block_delta
11
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":" \"notes/a.md\"}"}}
12
+
13
+ event: content_block_stop
14
+ data: {"type":"content_block_stop","index":0}
15
+
16
+ event: content_block_start
17
+ data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01B8x7c6v5b4n3m2a1s2d3f4","name":"read_file","input":{}}}
18
+
19
+ event: content_block_delta
20
+ data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"pa"}}
21
+
22
+ event: content_block_delta
23
+ data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"th\": \"notes/b.md\"}"}}
24
+
25
+ event: content_block_stop
26
+ data: {"type":"content_block_stop","index":1}
27
+
28
+ event: message_delta
29
+ data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"output_tokens":102}}
30
+
31
+ event: message_stop
32
+ data: {"type":"message_stop"}
33
+
@@ -0,0 +1,39 @@
1
+ event: message_start
2
+ data: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":412,"output_tokens":1}}}
3
+
4
+ event: content_block_start
5
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
6
+
7
+ event: content_block_delta
8
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"I'll check the weather"}}
9
+
10
+ event: content_block_delta
11
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" in Paris."}}
12
+
13
+ event: content_block_stop
14
+ data: {"type":"content_block_stop","index":0}
15
+
16
+ event: content_block_start
17
+ data: {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_01T1x1fJ34qAmk2tNTrN7Up6","name":"get_weather","input":{}}}
18
+
19
+ event: content_block_delta
20
+ data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}}
21
+
22
+ event: content_block_delta
23
+ data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"city\": \"Pa"}}
24
+
25
+ event: content_block_delta
26
+ data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"ris\", \"unit\""}}
27
+
28
+ event: content_block_delta
29
+ data: {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":": \"celsius\"}"}}
30
+
31
+ event: content_block_stop
32
+ data: {"type":"content_block_stop","index":1}
33
+
34
+ event: message_delta
35
+ data: {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"output_tokens":89}}
36
+
37
+ event: message_stop
38
+ data: {"type":"message_stop"}
39
+
@@ -0,0 +1,27 @@
1
+ event: message_start
2
+ data: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":25,"output_tokens":1}}}
3
+
4
+ event: ping
5
+ data: {"type": "ping"}
6
+
7
+ event: content_block_start
8
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
9
+
10
+ event: content_block_delta
11
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Hello"}}
12
+
13
+ event: content_block_delta
14
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"! How can I"}}
15
+
16
+ event: content_block_delta
17
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" help you today?"}}
18
+
19
+ event: content_block_stop
20
+ data: {"type":"content_block_stop","index":0}
21
+
22
+ event: message_delta
23
+ data: {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"output_tokens":12}}
24
+
25
+ event: message_stop
26
+ data: {"type":"message_stop"}
27
+
@@ -0,0 +1,21 @@
1
+ event: message_start
2
+ data: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":40,"output_tokens":1}}}
3
+
4
+ event: content_block_start
5
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
6
+
7
+ event: content_block_delta
8
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Here is a long story. Once upon"}}
9
+
10
+ event: content_block_delta
11
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" a time there"}}
12
+
13
+ event: content_block_stop
14
+ data: {"type":"content_block_stop","index":0}
15
+
16
+ event: message_delta
17
+ data: {"type":"message_delta","delta":{"stop_reason":"max_tokens","stop_sequence":null},"usage":{"output_tokens":16}}
18
+
19
+ event: message_stop
20
+ data: {"type":"message_stop"}
21
+
@@ -0,0 +1,12 @@
1
+ event: message_start
2
+ data: {"type":"message_start","message":{"id":"msg_01XFDUDYJgAACzvnptvVoYEL","type":"message","role":"assistant","model":"claude-sonnet-4-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":25,"output_tokens":1}}}
3
+
4
+ event: content_block_start
5
+ data: {"type":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
6
+
7
+ event: content_block_delta
8
+ data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Let me"}}
9
+
10
+ event: error
11
+ data: {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}
12
+
@@ -0,0 +1,20 @@
1
+ {
2
+ "anthropic-messages": {
3
+ "text": { "status": "completed", "text": "Hello! How can I help you today?", "inputTokens": 25, "outputTokens": 12 },
4
+ "chinese": { "status": "completed", "text": "你好!这是一段中文回复。", "inputTokens": 18, "outputTokens": 15 },
5
+ "truncated": { "status": "completed", "text": "Here is a long story. Once upon a time there", "inputTokens": 40, "outputTokens": 16 },
6
+ "upstream-error": { "status": "failed", "text": "Let me", "errorCode": "upstream", "errorMessage": "Overloaded" }
7
+ },
8
+ "openai-chat": {
9
+ "text": { "status": "completed", "text": "Hello! How can I help you today?", "inputTokens": 19, "outputTokens": 10 },
10
+ "chinese": { "status": "completed", "text": "你好!这是一段中文回复。", "inputTokens": 12, "outputTokens": 9 },
11
+ "truncated": { "status": "completed", "text": "Here is a long story. Once upon a time there", "inputTokens": 30, "outputTokens": 16 },
12
+ "upstream-error": { "status": "failed", "text": "Let me", "errorCode": "upstream", "errorMessage": "The server had an error" }
13
+ },
14
+ "openai-responses": {
15
+ "text": { "status": "completed", "text": "Hello! How can I help you today?", "inputTokens": 37, "outputTokens": 11 },
16
+ "chinese": { "status": "completed", "text": "你好!这是一段中文回复。", "inputTokens": 20, "outputTokens": 9 },
17
+ "truncated": { "status": "completed", "text": "Here is a long story. Once upon a time there", "inputTokens": 30, "outputTokens": 16 },
18
+ "upstream-error": { "status": "failed", "text": "", "errorCode": "upstream", "errorMessage": "The model failed to generate a response." }
19
+ }
20
+ }
@@ -0,0 +1,14 @@
1
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null}
2
+
3
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"你好!"},"logprobs":null,"finish_reason":null}],"usage":null}
4
+
5
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"这是一段"},"logprobs":null,"finish_reason":null}],"usage":null}
6
+
7
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"中文回复。"},"logprobs":null,"finish_reason":null}],"usage":null}
8
+
9
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null}
10
+
11
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[],"usage":{"prompt_tokens":12,"completion_tokens":9,"total_tokens":21}}
12
+
13
+ data: [DONE]
14
+
@@ -0,0 +1,18 @@
1
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"usage":null}
2
+
3
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_mU2mRxkQ9UOWGhL1xFpQf2Ts","type":"function","function":{"name":"read_file","arguments":""}}]},"logprobs":null,"finish_reason":null}],"usage":null}
4
+
5
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"path\":\"notes/"}}]},"logprobs":null,"finish_reason":null}],"usage":null}
6
+
7
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"id":"call_x1Fb3m0Zr8e5HhKcVqYtJ4pN","type":"function","function":{"name":"read_file","arguments":""}}]},"logprobs":null,"finish_reason":null}],"usage":null}
8
+
9
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":1,"function":{"arguments":"{\"path\":\"notes/b.md\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null}
10
+
11
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"a.md\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null}
12
+
13
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null}
14
+
15
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[],"usage":{"prompt_tokens":120,"completion_tokens":44,"total_tokens":164}}
16
+
17
+ data: [DONE]
18
+
@@ -0,0 +1,22 @@
1
+ : OPENROUTER PROCESSING
2
+
3
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"role":"assistant","content":null},"logprobs":null,"finish_reason":null}],"usage":null}
4
+
5
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_DdmO9pD3xa9XTPNJ32zg2hcA","type":"function","function":{"name":"get_weather","arguments":""}}]},"logprobs":null,"finish_reason":null}],"usage":null}
6
+
7
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null}
8
+
9
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"city"}}]},"logprobs":null,"finish_reason":null}],"usage":null}
10
+
11
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null}
12
+
13
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Paris"}}]},"logprobs":null,"finish_reason":null}],"usage":null}
14
+
15
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null}
16
+
17
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null}
18
+
19
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[],"usage":{"prompt_tokens":82,"completion_tokens":17,"total_tokens":99}}
20
+
21
+ data: [DONE]
22
+
@@ -0,0 +1,14 @@
1
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null}
2
+
3
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"usage":null}
4
+
5
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"! How can I"},"logprobs":null,"finish_reason":null}],"usage":null}
6
+
7
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":" help you today?"},"logprobs":null,"finish_reason":null}],"usage":null}
8
+
9
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null}
10
+
11
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[],"usage":{"prompt_tokens":19,"completion_tokens":10,"total_tokens":29}}
12
+
13
+ data: [DONE]
14
+
@@ -0,0 +1,12 @@
1
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null}
2
+
3
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"Here is a long story. Once upon"},"logprobs":null,"finish_reason":null}],"usage":null}
4
+
5
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":" a time there"},"logprobs":null,"finish_reason":null}],"usage":null}
6
+
7
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"length"}],"usage":null}
8
+
9
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[],"usage":{"prompt_tokens":30,"completion_tokens":16,"total_tokens":46}}
10
+
11
+ data: [DONE]
12
+
@@ -0,0 +1,6 @@
1
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}],"usage":null}
2
+
3
+ data: {"id":"chatcmpl-B9MHDbslfkBeAs8l4bebGdFOJ6PeG","object":"chat.completion.chunk","created":1741570283,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_eb9dce56a8","choices":[{"index":0,"delta":{"content":"Let me"},"logprobs":null,"finish_reason":null}],"usage":null}
4
+
5
+ data: {"error":{"message":"The server had an error while processing your request. Sorry about that!","type":"server_error","param":null,"code":null}}
6
+
@@ -0,0 +1,33 @@
1
+ event: response.created
2
+ data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"in_progress","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":null}}
3
+
4
+ event: response.in_progress
5
+ data: {"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"in_progress","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":null}}
6
+
7
+ event: response.output_item.added
8
+ data: {"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","type":"message","status":"in_progress","role":"assistant","content":[]}}
9
+
10
+ event: response.content_part.added
11
+ data: {"type":"response.content_part.added","sequence_number":3,"item_id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","output_index":0,"content_index":0,"part":{"type":"output_text","text":"","annotations":[]}}
12
+
13
+ event: response.output_text.delta
14
+ data: {"type":"response.output_text.delta","sequence_number":4,"item_id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","output_index":0,"content_index":0,"delta":"你好!"}
15
+
16
+ event: response.output_text.delta
17
+ data: {"type":"response.output_text.delta","sequence_number":5,"item_id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","output_index":0,"content_index":0,"delta":"这是一段"}
18
+
19
+ event: response.output_text.delta
20
+ data: {"type":"response.output_text.delta","sequence_number":6,"item_id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","output_index":0,"content_index":0,"delta":"中文回复。"}
21
+
22
+ event: response.output_text.done
23
+ data: {"type":"response.output_text.done","sequence_number":7,"item_id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","output_index":0,"content_index":0,"text":"你好!这是一段中文回复。"}
24
+
25
+ event: response.content_part.done
26
+ data: {"type":"response.content_part.done","sequence_number":8,"item_id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","output_index":0,"content_index":0,"part":{"type":"output_text","text":"你好!这是一段中文回复。","annotations":[]}}
27
+
28
+ event: response.output_item.done
29
+ data: {"type":"response.output_item.done","sequence_number":9,"output_index":0,"item":{"id":"msg_67ccd2bf17f0819081ff3bb2cf6508e60bb6a6b452d3795c","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"你好!这是一段中文回复。","annotations":[]}]}}
30
+
31
+ event: response.completed
32
+ data: {"type":"response.completed","sequence_number":10,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"completed","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":{"input_tokens":20,"input_tokens_details":{"cached_tokens":0},"output_tokens":9,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":29}}}
33
+
@@ -0,0 +1,36 @@
1
+ event: response.created
2
+ data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"in_progress","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":null}}
3
+
4
+ event: response.in_progress
5
+ data: {"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"in_progress","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":null}}
6
+
7
+ event: response.output_item.added
8
+ data: {"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"fc_aaa111","type":"function_call","status":"in_progress","arguments":"","call_id":"call_aaa111","name":"read_file"}}
9
+
10
+ event: response.function_call_arguments.delta
11
+ data: {"type":"response.function_call_arguments.delta","sequence_number":3,"item_id":"fc_aaa111","output_index":0,"delta":"{\"path\":"}
12
+
13
+ event: response.function_call_arguments.delta
14
+ data: {"type":"response.function_call_arguments.delta","sequence_number":4,"item_id":"fc_aaa111","output_index":0,"delta":"\"notes/a.md\"}"}
15
+
16
+ event: response.function_call_arguments.done
17
+ data: {"type":"response.function_call_arguments.done","sequence_number":5,"item_id":"fc_aaa111","output_index":0,"arguments":"{\"path\":\"notes/a.md\"}"}
18
+
19
+ event: response.output_item.done
20
+ data: {"type":"response.output_item.done","sequence_number":6,"output_index":0,"item":{"id":"fc_aaa111","type":"function_call","status":"completed","arguments":"{\"path\":\"notes/a.md\"}","call_id":"call_aaa111","name":"read_file"}}
21
+
22
+ event: response.output_item.added
23
+ data: {"type":"response.output_item.added","sequence_number":7,"output_index":1,"item":{"id":"fc_bbb222","type":"function_call","status":"in_progress","arguments":"","call_id":"call_bbb222","name":"read_file"}}
24
+
25
+ event: response.function_call_arguments.delta
26
+ data: {"type":"response.function_call_arguments.delta","sequence_number":8,"item_id":"fc_bbb222","output_index":1,"delta":"{\"path\":\"notes/b.md\"}"}
27
+
28
+ event: response.function_call_arguments.done
29
+ data: {"type":"response.function_call_arguments.done","sequence_number":9,"item_id":"fc_bbb222","output_index":1,"arguments":"{\"path\":\"notes/b.md\"}"}
30
+
31
+ event: response.output_item.done
32
+ data: {"type":"response.output_item.done","sequence_number":10,"output_index":1,"item":{"id":"fc_bbb222","type":"function_call","status":"completed","arguments":"{\"path\":\"notes/b.md\"}","call_id":"call_bbb222","name":"read_file"}}
33
+
34
+ event: response.completed
35
+ data: {"type":"response.completed","sequence_number":11,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"completed","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":{"input_tokens":98,"input_tokens_details":{"cached_tokens":0},"output_tokens":40,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":138}}}
36
+
@@ -0,0 +1,27 @@
1
+ event: response.created
2
+ data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"in_progress","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":null}}
3
+
4
+ event: response.in_progress
5
+ data: {"type":"response.in_progress","sequence_number":1,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"in_progress","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":null}}
6
+
7
+ event: response.output_item.added
8
+ data: {"type":"response.output_item.added","sequence_number":2,"output_index":0,"item":{"id":"fc_12345xyz","type":"function_call","status":"in_progress","arguments":"","call_id":"call_12345xyz","name":"get_weather"}}
9
+
10
+ event: response.function_call_arguments.delta
11
+ data: {"type":"response.function_call_arguments.delta","sequence_number":3,"item_id":"fc_12345xyz","output_index":0,"delta":"{\""}
12
+
13
+ event: response.function_call_arguments.delta
14
+ data: {"type":"response.function_call_arguments.delta","sequence_number":4,"item_id":"fc_12345xyz","output_index":0,"delta":"city\":\""}
15
+
16
+ event: response.function_call_arguments.delta
17
+ data: {"type":"response.function_call_arguments.delta","sequence_number":5,"item_id":"fc_12345xyz","output_index":0,"delta":"Paris\"}"}
18
+
19
+ event: response.function_call_arguments.done
20
+ data: {"type":"response.function_call_arguments.done","sequence_number":6,"item_id":"fc_12345xyz","output_index":0,"arguments":"{\"city\":\"Paris\"}"}
21
+
22
+ event: response.output_item.done
23
+ data: {"type":"response.output_item.done","sequence_number":7,"output_index":0,"item":{"id":"fc_12345xyz","type":"function_call","status":"completed","arguments":"{\"city\":\"Paris\"}","call_id":"call_12345xyz","name":"get_weather"}}
24
+
25
+ event: response.completed
26
+ data: {"type":"response.completed","sequence_number":8,"response":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"completed","model":"gpt-4.1-2025-04-14","output":[],"incomplete_details":null,"usage":{"input_tokens":64,"input_tokens_details":{"cached_tokens":0},"output_tokens":15,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":79}}}
27
+