codemie-sdk 0.1.360 → 0.1.362
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.
- package/README.md +3 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -256,6 +256,7 @@ const params: AssistantChatParams = {
|
|
|
256
256
|
top_k: 1,
|
|
257
257
|
metadata: {}, // Additional metadata
|
|
258
258
|
propagate_headers: true, // Enable propagation of X-* headers
|
|
259
|
+
save_history: true, // Set to false to skip saving chat to history (defaults to true)
|
|
259
260
|
};
|
|
260
261
|
|
|
261
262
|
// Pass X-* headers to be forwarded to MCP servers
|
|
@@ -310,6 +311,7 @@ const params: AssistantChatParams = {
|
|
|
310
311
|
file_name: "", // For file processing
|
|
311
312
|
top_k: 1,
|
|
312
313
|
metadata: {}, // Additional metadata
|
|
314
|
+
save_history: true, // Set to false to skip saving chat to history (defaults to true)
|
|
313
315
|
output_schema: ResponseFormat
|
|
314
316
|
};
|
|
315
317
|
|
|
@@ -353,6 +355,7 @@ const params: AssistantChatParams = {
|
|
|
353
355
|
file_name: "", // For file processing
|
|
354
356
|
top_k: 1,
|
|
355
357
|
metadata: {}, // Additional metadata
|
|
358
|
+
save_history: true, // Set to false to skip saving chat to history (defaults to true)
|
|
356
359
|
output_schema: schema
|
|
357
360
|
};
|
|
358
361
|
|
package/dist/index.cjs
CHANGED
|
@@ -265,6 +265,7 @@ var AssistantChatParamsSchema = import_zod.z.object({
|
|
|
265
265
|
background_task: import_zod.z.boolean().optional(),
|
|
266
266
|
metadata: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).optional(),
|
|
267
267
|
mcp_server_single_usage: import_zod.z.boolean().optional(),
|
|
268
|
+
save_history: import_zod.z.boolean().optional(),
|
|
268
269
|
version: import_zod.z.number().optional(),
|
|
269
270
|
output_schema: import_zod.z.union([import_zod.z.custom((val) => val instanceof import_zod.z.ZodType), import_zod.z.record(import_zod.z.string(), import_zod.z.unknown())]).optional()
|
|
270
271
|
}).readonly();
|