feat(core): add rawRequest in history for debug

This commit is contained in:
Simon
2026-01-28 14:30:04 +08:00
parent c80de93d3b
commit f6394a04b1
5 changed files with 30 additions and 23 deletions

View File

@@ -27,6 +27,7 @@ export function zodToOpenAITool(name: string, tool: Tool) {
/**
* Patch model specific parameters
* @note in-place modification
*/
export function modelPatch(body: Record<string, any>) {
const model: string = body.model || ''