@lobehub/lobehub 2.0.0-next.190 → 2.0.0-next.191

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 (87) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/changelog/v1.json +9 -0
  3. package/package.json +1 -1
  4. package/packages/const/src/utils/merge.test.ts +679 -0
  5. package/packages/context-engine/src/processors/__tests__/AgentCouncilFlatten.test.ts +0 -20
  6. package/packages/context-engine/src/processors/__tests__/MessageContent.test.ts +5 -23
  7. package/packages/context-engine/src/providers/SystemRoleInjector.ts +0 -1
  8. package/packages/conversation-flow/src/__tests__/fixtures/inputs/agentCouncil/simple.json +4 -19
  9. package/packages/conversation-flow/src/__tests__/fixtures/inputs/agentCouncil/with-supervisor-reply.json +4 -23
  10. package/packages/conversation-flow/src/__tests__/fixtures/inputs/agentGroup/speak-different-agent.json +3 -13
  11. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistant-chain-with-followup.json +3 -8
  12. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/assistant-with-tools.json +21 -17
  13. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/tools-with-branches.json +15 -15
  14. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/active-index-1.json +3 -13
  15. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-branch.json +2 -9
  16. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-group-branches.json +0 -11
  17. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-user-branch.json +5 -15
  18. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/conversation.json +4 -14
  19. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/multi-assistant-group.json +0 -13
  20. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/nested.json +2 -15
  21. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/simple.json +4 -9
  22. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/with-tools.json +8 -17
  23. package/packages/conversation-flow/src/__tests__/fixtures/inputs/linear-conversation.json +3 -7
  24. package/packages/conversation-flow/src/__tests__/fixtures/inputs/tasks/simple.json +1 -7
  25. package/packages/conversation-flow/src/__tests__/fixtures/inputs/tasks/with-summary.json +10 -11
  26. package/packages/conversation-flow/src/__tests__/fixtures/outputs/agentCouncil/simple.json +2 -32
  27. package/packages/conversation-flow/src/__tests__/fixtures/outputs/agentCouncil/with-supervisor-reply.json +8 -46
  28. package/packages/conversation-flow/src/__tests__/fixtures/outputs/agentGroup/speak-different-agent.json +5 -24
  29. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistant-chain-with-followup.json +5 -13
  30. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/assistant-with-tools.json +6 -16
  31. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/tools-with-branches.json +6 -17
  32. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/active-index-1.json +4 -18
  33. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-branch.json +4 -16
  34. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-group-branches.json +0 -19
  35. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-user-branch.json +8 -24
  36. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/conversation.json +7 -23
  37. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/multi-assistant-group.json +0 -15
  38. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/nested.json +4 -25
  39. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/simple.json +2 -13
  40. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/with-tools.json +4 -20
  41. package/packages/conversation-flow/src/__tests__/fixtures/outputs/linear-conversation.json +4 -12
  42. package/packages/conversation-flow/src/__tests__/fixtures/outputs/tasks/simple.json +2 -14
  43. package/packages/conversation-flow/src/__tests__/fixtures/outputs/tasks/with-summary.json +20 -22
  44. package/packages/conversation-flow/src/__tests__/indexing.test.ts +0 -35
  45. package/packages/conversation-flow/src/__tests__/structuring.test.ts +0 -41
  46. package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +0 -4
  47. package/packages/conversation-flow/src/transformation/__tests__/BranchResolver.test.ts +0 -10
  48. package/packages/conversation-flow/src/transformation/__tests__/ContextTreeBuilder.test.ts +0 -19
  49. package/packages/conversation-flow/src/transformation/__tests__/FlatListBuilder.test.ts +0 -37
  50. package/packages/conversation-flow/src/transformation/__tests__/MessageCollector.test.ts +0 -12
  51. package/packages/conversation-flow/src/transformation/__tests__/MessageTransformer.test.ts +0 -2
  52. package/packages/database/src/models/message.ts +0 -1
  53. package/packages/prompts/src/prompts/chatMessages/index.test.ts +0 -1
  54. package/packages/prompts/src/prompts/groupChat/__snapshots__/index.test.ts.snap +0 -21
  55. package/packages/prompts/src/prompts/groupChat/index.test.ts +0 -3
  56. package/packages/types/src/message/ui/chat.ts +0 -2
  57. package/src/features/Conversation/store/slices/data/action.test.ts +0 -14
  58. package/src/features/Conversation/store/slices/data/reducer.test.ts +0 -21
  59. package/src/features/Conversation/store/slices/data/reducer.ts +1 -1
  60. package/src/features/Conversation/store/slices/message/action/crud.test.ts +0 -10
  61. package/src/server/modules/Mecha/ContextEngineering/__tests__/serverMessagesEngine.test.ts +3 -5
  62. package/src/server/routers/lambda/__tests__/message.test.ts +1 -2
  63. package/src/server/services/agentRuntime/AgentRuntimeService.ts +109 -109
  64. package/src/server/services/agentRuntime/types.ts +8 -8
  65. package/src/server/services/doc/index.tsx +2 -2
  66. package/src/server/services/generation/index.ts +2 -2
  67. package/src/server/services/message/index.ts +3 -3
  68. package/src/server/services/usage/index.ts +4 -4
  69. package/src/services/chat/chat.test.ts +0 -6
  70. package/src/services/chat/mecha/contextEngineering.test.ts +3 -29
  71. package/src/services/chat/mecha/modelParamsResolver.test.ts +803 -0
  72. package/src/store/chat/agents/GroupOrchestration/createGroupOrchestrationExecutors.ts +0 -2
  73. package/src/store/chat/agents/__tests__/createAgentExecutors/call-tool.test.ts +0 -6
  74. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockMessages.ts +0 -3
  75. package/src/store/chat/agents/createAgentExecutors.ts +4 -4
  76. package/src/store/chat/slices/aiAgent/actions/__tests__/agentGroup.test.ts +0 -2
  77. package/src/store/chat/slices/aiAgent/actions/__tests__/runAgent.test.ts +0 -3
  78. package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +0 -1
  79. package/src/store/chat/slices/builtinTool/actions/__tests__/search.test.ts +0 -4
  80. package/src/store/chat/slices/message/reducer.test.ts +0 -5
  81. package/src/store/chat/slices/message/reducer.ts +1 -1
  82. package/src/store/chat/slices/message/selectors/displayMessage.test.ts +0 -13
  83. package/src/store/chat/slices/message/selectors/displayMessage.ts +3 -34
  84. package/src/store/chat/slices/portal/selectors.test.ts +0 -7
  85. package/src/store/chat/slices/thread/action.test.ts +0 -1
  86. package/src/store/chat/slices/translate/action.test.ts +0 -1
  87. package/src/store/tool/slices/oldStore/action.test.ts +0 -1
@@ -30,8 +30,7 @@
30
30
  "role": "user",
31
31
  "content": "What's the weather?",
32
32
  "createdAt": 1000,
33
- "updatedAt": 1000,
34
- "meta": {}
33
+ "updatedAt": 1000
35
34
  },
36
35
  {
37
36
  "id": "msg-2",
@@ -40,7 +39,6 @@
40
39
  "createdAt": 2000,
41
40
  "updatedAt": 2000,
42
41
  "parentId": "msg-1",
43
- "meta": {},
44
42
  "children": [
45
43
  {
46
44
  "content": "Let me check the weather for you.",
@@ -72,8 +70,7 @@
72
70
  "content": "Thanks! How about tomorrow?",
73
71
  "createdAt": 5000,
74
72
  "updatedAt": 5000,
75
- "parentId": "msg-3",
76
- "meta": {}
73
+ "parentId": "msg-3"
77
74
  }
78
75
  ],
79
76
  "messageMap": {
@@ -82,8 +79,7 @@
82
79
  "role": "user",
83
80
  "content": "What's the weather?",
84
81
  "createdAt": 1000,
85
- "updatedAt": 1000,
86
- "meta": {}
82
+ "updatedAt": 1000
87
83
  },
88
84
  "msg-2": {
89
85
  "id": "msg-2",
@@ -92,7 +88,6 @@
92
88
  "createdAt": 2000,
93
89
  "updatedAt": 2000,
94
90
  "parentId": "msg-1",
95
- "meta": {},
96
91
  "tools": [
97
92
  {
98
93
  "id": "tool-1",
@@ -110,7 +105,6 @@
110
105
  "createdAt": 3000,
111
106
  "updatedAt": 3000,
112
107
  "parentId": "msg-2",
113
- "meta": {},
114
108
  "tool_call_id": "tool-1"
115
109
  },
116
110
  "msg-3": {
@@ -119,8 +113,7 @@
119
113
  "content": "The weather in New York is 72F and sunny.",
120
114
  "createdAt": 4000,
121
115
  "updatedAt": 4000,
122
- "parentId": "tool-1",
123
- "meta": {}
116
+ "parentId": "tool-1"
124
117
  },
125
118
  "msg-4": {
126
119
  "id": "msg-4",
@@ -128,8 +121,7 @@
128
121
  "content": "Thanks! How about tomorrow?",
129
122
  "createdAt": 5000,
130
123
  "updatedAt": 5000,
131
- "parentId": "msg-3",
132
- "meta": {}
124
+ "parentId": "msg-3"
133
125
  }
134
126
  }
135
127
  }
@@ -32,8 +32,7 @@
32
32
  "content": "What's the weather like in San Francisco and Beijing today?",
33
33
  "parentId": null,
34
34
  "createdAt": 1704067200000,
35
- "updatedAt": 1704067200000,
36
- "meta": {}
35
+ "updatedAt": 1704067200000
37
36
  },
38
37
  {
39
38
  "id": "msg-102",
@@ -42,7 +41,6 @@
42
41
  "parentId": "msg-101",
43
42
  "createdAt": 1704067202000,
44
43
  "updatedAt": 1704067202000,
45
- "meta": {},
46
44
  "children": [
47
45
  {
48
46
  "content": "Let me check the current weather conditions in both cities for you.",
@@ -188,8 +186,7 @@
188
186
  "content": "What's the weather like in San Francisco and Beijing today?",
189
187
  "parentId": null,
190
188
  "createdAt": 1704067200000,
191
- "updatedAt": 1704067200000,
192
- "meta": {}
189
+ "updatedAt": 1704067200000
193
190
  },
194
191
  "msg-102": {
195
192
  "id": "msg-102",
@@ -214,7 +211,6 @@
214
211
  ],
215
212
  "createdAt": 1704067202000,
216
213
  "updatedAt": 1704067202000,
217
- "meta": {},
218
214
  "metadata": {
219
215
  "totalInputTokens": 28,
220
216
  "totalOutputTokens": 45,
@@ -237,8 +233,7 @@
237
233
  },
238
234
  "parentId": "msg-102",
239
235
  "createdAt": 1704067203000,
240
- "updatedAt": 1704067203000,
241
- "meta": {}
236
+ "updatedAt": 1704067203000
242
237
  },
243
238
  "msg-104": {
244
239
  "id": "msg-104",
@@ -251,8 +246,7 @@
251
246
  },
252
247
  "parentId": "msg-102",
253
248
  "createdAt": 1704067203100,
254
- "updatedAt": 1704067203100,
255
- "meta": {}
249
+ "updatedAt": 1704067203100
256
250
  },
257
251
  "msg-105": {
258
252
  "id": "msg-105",
@@ -277,7 +271,6 @@
277
271
  ],
278
272
  "createdAt": 1704067205000,
279
273
  "updatedAt": 1704067205000,
280
- "meta": {},
281
274
  "metadata": {
282
275
  "totalInputTokens": 156,
283
276
  "totalOutputTokens": 42,
@@ -300,8 +293,7 @@
300
293
  },
301
294
  "parentId": "msg-105",
302
295
  "createdAt": 1704067206000,
303
- "updatedAt": 1704067206000,
304
- "meta": {}
296
+ "updatedAt": 1704067206000
305
297
  },
306
298
  "msg-107": {
307
299
  "id": "msg-107",
@@ -314,8 +306,7 @@
314
306
  },
315
307
  "parentId": "msg-105",
316
308
  "createdAt": 1704067206100,
317
- "updatedAt": 1704067206100,
318
- "meta": {}
309
+ "updatedAt": 1704067206100
319
310
  },
320
311
  "msg-108": {
321
312
  "id": "msg-108",
@@ -324,7 +315,6 @@
324
315
  "parentId": "msg-106",
325
316
  "createdAt": 1704067208000,
326
317
  "updatedAt": 1704067208000,
327
- "meta": {},
328
318
  "metadata": {
329
319
  "totalInputTokens": 245,
330
320
  "totalOutputTokens": 112,
@@ -47,8 +47,7 @@
47
47
  "content": "Help me debug this Python code that's throwing an error",
48
48
  "parentId": null,
49
49
  "createdAt": 1704067200000,
50
- "updatedAt": 1704067200000,
51
- "meta": {}
50
+ "updatedAt": 1704067200000
52
51
  },
53
52
  {
54
53
  "id": "msg-502",
@@ -57,7 +56,6 @@
57
56
  "parentId": "msg-501",
58
57
  "createdAt": 1704067202000,
59
58
  "updatedAt": 1704067202000,
60
- "meta": {},
61
59
  "children": [
62
60
  {
63
61
  "content": "I'll help you debug the code. Let me first check the syntax and run some analysis.",
@@ -121,8 +119,7 @@
121
119
  "content": "Here's the code:\n```python\ndef calculate():\n x = 5\n y = 10\n print(result)\n```",
122
120
  "parentId": "msg-504",
123
121
  "createdAt": 1704067210000,
124
- "updatedAt": 1704067210000,
125
- "meta": {}
122
+ "updatedAt": 1704067210000
126
123
  },
127
124
  {
128
125
  "id": "msg-506",
@@ -131,7 +128,6 @@
131
128
  "parentId": "msg-505",
132
129
  "createdAt": 1704067213000,
133
130
  "updatedAt": 1704067213000,
134
- "meta": {},
135
131
  "usage": {
136
132
  "totalInputTokens": 156,
137
133
  "totalOutputTokens": 89,
@@ -151,8 +147,7 @@
151
147
  "content": "Help me debug this Python code that's throwing an error",
152
148
  "parentId": null,
153
149
  "createdAt": 1704067200000,
154
- "updatedAt": 1704067200000,
155
- "meta": {}
150
+ "updatedAt": 1704067200000
156
151
  },
157
152
  "msg-502": {
158
153
  "id": "msg-502",
@@ -177,7 +172,6 @@
177
172
  ],
178
173
  "createdAt": 1704067202000,
179
174
  "updatedAt": 1704067202000,
180
- "meta": {},
181
175
  "usage": {
182
176
  "totalInputTokens": 32,
183
177
  "totalOutputTokens": 48,
@@ -198,8 +192,7 @@
198
192
  },
199
193
  "parentId": "msg-502",
200
194
  "createdAt": 1704067203000,
201
- "updatedAt": 1704067203000,
202
- "meta": {}
195
+ "updatedAt": 1704067203000
203
196
  },
204
197
  "msg-504": {
205
198
  "id": "msg-504",
@@ -215,8 +208,7 @@
215
208
  },
216
209
  "parentId": "msg-502",
217
210
  "createdAt": 1704067203100,
218
- "updatedAt": 1704067203100,
219
- "meta": {}
211
+ "updatedAt": 1704067203100
220
212
  },
221
213
  "msg-505": {
222
214
  "id": "msg-505",
@@ -224,8 +216,7 @@
224
216
  "content": "Here's the code:\n```python\ndef calculate():\n x = 5\n y = 10\n print(result)\n```",
225
217
  "parentId": "msg-504",
226
218
  "createdAt": 1704067210000,
227
- "updatedAt": 1704067210000,
228
- "meta": {}
219
+ "updatedAt": 1704067210000
229
220
  },
230
221
  "msg-506": {
231
222
  "id": "msg-506",
@@ -234,7 +225,6 @@
234
225
  "parentId": "msg-505",
235
226
  "createdAt": 1704067213000,
236
227
  "updatedAt": 1704067213000,
237
- "meta": {},
238
228
  "usage": {
239
229
  "totalInputTokens": 156,
240
230
  "totalOutputTokens": 89,
@@ -249,7 +239,6 @@
249
239
  "parentId": "msg-505",
250
240
  "createdAt": 1704067213100,
251
241
  "updatedAt": 1704067213100,
252
- "meta": {},
253
242
  "usage": {
254
243
  "totalInputTokens": 156,
255
244
  "totalOutputTokens": 72,
@@ -63,7 +63,6 @@
63
63
  "parentId": null,
64
64
  "createdAt": 1704067200000,
65
65
  "updatedAt": 1704067200000,
66
- "meta": {},
67
66
  "metadata": {
68
67
  "activeBranchIndex": 1
69
68
  }
@@ -75,7 +74,6 @@
75
74
  "parentId": "msg-201",
76
75
  "createdAt": 1704067203100,
77
76
  "updatedAt": 1704067203100,
78
- "meta": {},
79
77
  "metadata": {
80
78
  "totalInputTokens": 12,
81
79
  "totalOutputTokens": 24,
@@ -93,8 +91,7 @@
93
91
  "content": "Actually, I prefer the second one with the dancing variables.",
94
92
  "parentId": "msg-203",
95
93
  "createdAt": 1704067225000,
96
- "updatedAt": 1704067225000,
97
- "meta": {}
94
+ "updatedAt": 1704067225000
98
95
  },
99
96
  {
100
97
  "id": "msg-208",
@@ -103,7 +100,6 @@
103
100
  "parentId": "msg-207",
104
101
  "createdAt": 1704067227000,
105
102
  "updatedAt": 1704067227000,
106
- "meta": {},
107
103
  "metadata": {
108
104
  "totalInputTokens": 48,
109
105
  "totalOutputTokens": 52,
@@ -120,7 +116,6 @@
120
116
  "parentId": null,
121
117
  "createdAt": 1704067200000,
122
118
  "updatedAt": 1704067200000,
123
- "meta": {},
124
119
  "metadata": {
125
120
  "activeBranchIndex": 1
126
121
  }
@@ -132,7 +127,6 @@
132
127
  "parentId": "msg-201",
133
128
  "createdAt": 1704067203000,
134
129
  "updatedAt": 1704067203000,
135
- "meta": {},
136
130
  "metadata": {
137
131
  "totalInputTokens": 12,
138
132
  "totalOutputTokens": 28,
@@ -147,7 +141,6 @@
147
141
  "parentId": "msg-201",
148
142
  "createdAt": 1704067203100,
149
143
  "updatedAt": 1704067203100,
150
- "meta": {},
151
144
  "metadata": {
152
145
  "totalInputTokens": 12,
153
146
  "totalOutputTokens": 24,
@@ -162,7 +155,6 @@
162
155
  "parentId": "msg-201",
163
156
  "createdAt": 1704067203200,
164
157
  "updatedAt": 1704067203200,
165
- "meta": {},
166
158
  "metadata": {
167
159
  "totalInputTokens": 12,
168
160
  "totalOutputTokens": 26,
@@ -176,8 +168,7 @@
176
168
  "content": "I like the first one best!",
177
169
  "parentId": "msg-202",
178
170
  "createdAt": 1704067220000,
179
- "updatedAt": 1704067220000,
180
- "meta": {}
171
+ "updatedAt": 1704067220000
181
172
  },
182
173
  "msg-206": {
183
174
  "id": "msg-206",
@@ -186,7 +177,6 @@
186
177
  "parentId": "msg-205",
187
178
  "createdAt": 1704067222000,
188
179
  "updatedAt": 1704067222000,
189
- "meta": {},
190
180
  "metadata": {
191
181
  "totalInputTokens": 52,
192
182
  "totalOutputTokens": 48,
@@ -200,8 +190,7 @@
200
190
  "content": "Actually, I prefer the second one with the dancing variables.",
201
191
  "parentId": "msg-203",
202
192
  "createdAt": 1704067225000,
203
- "updatedAt": 1704067225000,
204
- "meta": {}
193
+ "updatedAt": 1704067225000
205
194
  },
206
195
  "msg-208": {
207
196
  "id": "msg-208",
@@ -210,7 +199,6 @@
210
199
  "parentId": "msg-207",
211
200
  "createdAt": 1704067227000,
212
201
  "updatedAt": 1704067227000,
213
- "meta": {},
214
202
  "metadata": {
215
203
  "totalInputTokens": 48,
216
204
  "totalOutputTokens": 52,
@@ -224,8 +212,7 @@
224
212
  "content": "Yes, please write one more about debugging!",
225
213
  "parentId": "msg-206",
226
214
  "createdAt": 1704067230000,
227
- "updatedAt": 1704067230000,
228
- "meta": {}
215
+ "updatedAt": 1704067230000
229
216
  },
230
217
  "msg-210": {
231
218
  "id": "msg-210",
@@ -234,7 +221,6 @@
234
221
  "parentId": "msg-209",
235
222
  "createdAt": 1704067232000,
236
223
  "updatedAt": 1704067232000,
237
- "meta": {},
238
224
  "metadata": {
239
225
  "totalInputTokens": 78,
240
226
  "totalOutputTokens": 24,
@@ -50,8 +50,7 @@
50
50
  "content": "Can you help me write a function to calculate fibonacci?",
51
51
  "parentId": null,
52
52
  "createdAt": 1704067200000,
53
- "updatedAt": 1704067200000,
54
- "meta": {}
53
+ "updatedAt": 1704067200000
55
54
  },
56
55
  {
57
56
  "id": "msg-402",
@@ -60,7 +59,6 @@
60
59
  "parentId": "msg-401",
61
60
  "createdAt": 1704067202000,
62
61
  "updatedAt": 1704067202000,
63
- "meta": {},
64
62
  "metadata": {
65
63
  "totalInputTokens": 15,
66
64
  "totalOutputTokens": 12,
@@ -76,7 +74,6 @@
76
74
  "parentId": "msg-402",
77
75
  "createdAt": 1704067205100,
78
76
  "updatedAt": 1704067205100,
79
- "meta": {},
80
77
  "metadata": {
81
78
  "totalInputTokens": 30,
82
79
  "totalOutputTokens": 52,
@@ -94,8 +91,7 @@
94
91
  "content": "The iterative approach looks good! Can you add some comments?",
95
92
  "parentId": "msg-404",
96
93
  "createdAt": 1704067215000,
97
- "updatedAt": 1704067215000,
98
- "meta": {}
94
+ "updatedAt": 1704067215000
99
95
  },
100
96
  {
101
97
  "id": "msg-407",
@@ -104,7 +100,6 @@
104
100
  "parentId": "msg-406",
105
101
  "createdAt": 1704067217000,
106
102
  "updatedAt": 1704067217000,
107
- "meta": {},
108
103
  "metadata": {
109
104
  "totalInputTokens": 95,
110
105
  "totalOutputTokens": 78,
@@ -120,8 +115,7 @@
120
115
  "content": "Can you help me write a function to calculate fibonacci?",
121
116
  "parentId": null,
122
117
  "createdAt": 1704067200000,
123
- "updatedAt": 1704067200000,
124
- "meta": {}
118
+ "updatedAt": 1704067200000
125
119
  },
126
120
  "msg-402": {
127
121
  "id": "msg-402",
@@ -130,7 +124,6 @@
130
124
  "parentId": "msg-401",
131
125
  "createdAt": 1704067202000,
132
126
  "updatedAt": 1704067202000,
133
- "meta": {},
134
127
  "metadata": {
135
128
  "totalInputTokens": 15,
136
129
  "totalOutputTokens": 12,
@@ -146,7 +139,6 @@
146
139
  "parentId": "msg-402",
147
140
  "createdAt": 1704067205000,
148
141
  "updatedAt": 1704067205000,
149
- "meta": {},
150
142
  "metadata": {
151
143
  "totalInputTokens": 30,
152
144
  "totalOutputTokens": 45,
@@ -161,7 +153,6 @@
161
153
  "parentId": "msg-402",
162
154
  "createdAt": 1704067205100,
163
155
  "updatedAt": 1704067205100,
164
- "meta": {},
165
156
  "metadata": {
166
157
  "totalInputTokens": 30,
167
158
  "totalOutputTokens": 52,
@@ -176,7 +167,6 @@
176
167
  "parentId": "msg-402",
177
168
  "createdAt": 1704067205200,
178
169
  "updatedAt": 1704067205200,
179
- "meta": {},
180
170
  "metadata": {
181
171
  "totalInputTokens": 30,
182
172
  "totalOutputTokens": 58,
@@ -190,8 +180,7 @@
190
180
  "content": "The iterative approach looks good! Can you add some comments?",
191
181
  "parentId": "msg-404",
192
182
  "createdAt": 1704067215000,
193
- "updatedAt": 1704067215000,
194
- "meta": {}
183
+ "updatedAt": 1704067215000
195
184
  },
196
185
  "msg-407": {
197
186
  "id": "msg-407",
@@ -200,7 +189,6 @@
200
189
  "parentId": "msg-406",
201
190
  "createdAt": 1704067217000,
202
191
  "updatedAt": 1704067217000,
203
- "meta": {},
204
192
  "metadata": {
205
193
  "totalInputTokens": 95,
206
194
  "totalOutputTokens": 78,
@@ -71,7 +71,6 @@
71
71
  "extra": {},
72
72
  "fileList": [],
73
73
  "imageList": [],
74
- "meta": {},
75
74
  "videoList": []
76
75
  },
77
76
  {
@@ -103,7 +102,6 @@
103
102
  },
104
103
  "fileList": [],
105
104
  "imageList": [],
106
- "meta": {},
107
105
  "model": "deepseek-chat",
108
106
  "provider": "deepseek",
109
107
  "videoList": []
@@ -123,7 +121,6 @@
123
121
  "extra": {},
124
122
  "fileList": [],
125
123
  "imageList": [],
126
- "meta": {},
127
124
  "videoList": []
128
125
  },
129
126
  {
@@ -155,7 +152,6 @@
155
152
  },
156
153
  "fileList": [],
157
154
  "imageList": [],
158
- "meta": {},
159
155
  "model": "deepseek-chat",
160
156
  "provider": "deepseek",
161
157
  "videoList": [],
@@ -176,7 +172,6 @@
176
172
  "extra": {},
177
173
  "fileList": [],
178
174
  "imageList": [],
179
- "meta": {},
180
175
  "videoList": []
181
176
  },
182
177
  {
@@ -190,7 +185,6 @@
190
185
  "extra": {},
191
186
  "fileList": [],
192
187
  "imageList": [],
193
- "meta": {},
194
188
  "videoList": []
195
189
  },
196
190
  {
@@ -205,7 +199,6 @@
205
199
  "extra": {},
206
200
  "fileList": [],
207
201
  "imageList": [],
208
- "meta": {},
209
202
  "videoList": []
210
203
  },
211
204
  {
@@ -223,7 +216,6 @@
223
216
  },
224
217
  "fileList": [],
225
218
  "imageList": [],
226
- "meta": {},
227
219
  "model": "deepseek-chat",
228
220
  "provider": "deepseek",
229
221
  "videoList": []
@@ -241,7 +233,6 @@
241
233
  "extra": {},
242
234
  "fileList": [],
243
235
  "imageList": [],
244
- "meta": {},
245
236
  "videoList": []
246
237
  },
247
238
  "msg_xXSCL5uzwDANSn": {
@@ -273,7 +264,6 @@
273
264
  },
274
265
  "fileList": [],
275
266
  "imageList": [],
276
- "meta": {},
277
267
  "model": "deepseek-chat",
278
268
  "provider": "deepseek",
279
269
  "videoList": []
@@ -293,7 +283,6 @@
293
283
  "extra": {},
294
284
  "fileList": [],
295
285
  "imageList": [],
296
- "meta": {},
297
286
  "videoList": []
298
287
  },
299
288
  "msg_h5nXrbCVGj2uWy": {
@@ -325,7 +314,6 @@
325
314
  },
326
315
  "fileList": [],
327
316
  "imageList": [],
328
- "meta": {},
329
317
  "model": "deepseek-chat",
330
318
  "provider": "deepseek",
331
319
  "videoList": []
@@ -359,7 +347,6 @@
359
347
  },
360
348
  "fileList": [],
361
349
  "imageList": [],
362
- "meta": {},
363
350
  "model": "deepseek-chat",
364
351
  "provider": "deepseek",
365
352
  "videoList": []
@@ -393,7 +380,6 @@
393
380
  },
394
381
  "fileList": [],
395
382
  "imageList": [],
396
- "meta": {},
397
383
  "model": "deepseek-chat",
398
384
  "provider": "deepseek",
399
385
  "videoList": []
@@ -410,7 +396,6 @@
410
396
  "extra": {},
411
397
  "fileList": [],
412
398
  "imageList": [],
413
- "meta": {},
414
399
  "videoList": []
415
400
  },
416
401
  "msg_VMXrVH9hXeCP1R": {
@@ -425,7 +410,6 @@
425
410
  "extra": {},
426
411
  "fileList": [],
427
412
  "imageList": [],
428
- "meta": {},
429
413
  "videoList": []
430
414
  },
431
415
  "msg_wpUElxuYslyASJ": {
@@ -439,7 +423,6 @@
439
423
  "extra": {},
440
424
  "fileList": [],
441
425
  "imageList": [],
442
- "meta": {},
443
426
  "videoList": []
444
427
  },
445
428
  "msg_LHG8QeuqpcFZml": {
@@ -454,7 +437,6 @@
454
437
  "extra": {},
455
438
  "fileList": [],
456
439
  "imageList": [],
457
- "meta": {},
458
440
  "videoList": []
459
441
  },
460
442
  "msg_jEKKxHQbz5duC6": {
@@ -472,7 +454,6 @@
472
454
  },
473
455
  "fileList": [],
474
456
  "imageList": [],
475
- "meta": {},
476
457
  "model": "deepseek-chat",
477
458
  "provider": "deepseek",
478
459
  "videoList": []