diff options
| author | Frank <[email protected]> | 2026-02-10 17:56:10 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-02-10 17:56:10 -0500 |
| commit | 24556331c8a1a5899489cbdb60eb80d058a1d6f1 (patch) | |
| tree | 893bab8adb8377592e926add7b25551f584e7a8d /packages | |
| parent | 39145b99e883935541c0580b2c5088e14b4413c4 (diff) | |
| download | opencode-24556331c8a1a5899489cbdb60eb80d058a1d6f1.tar.gz opencode-24556331c8a1a5899489cbdb60eb80d058a1d6f1.zip | |
wip: zen
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/console/function/src/log-processor.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/console/function/src/log-processor.ts b/packages/console/function/src/log-processor.ts index 111024c7f..327fc930b 100644 --- a/packages/console/function/src/log-processor.ts +++ b/packages/console/function/src/log-processor.ts @@ -38,11 +38,11 @@ export default { const json = JSON.parse(message.slice(8)) data = { ...data, ...json } if ("llm.error.code" in json) { - events.push({ event_type: "llm.error", time, data: { ...data } }) + events.push({ time, data: { ...data, event_type: "llm.error" } }) } } } - events.push({ event_type: "completions", time, data }) + events.push({ time, data: { ...data, event_type: "completions" } }) console.log(JSON.stringify(data, null, 2)) const ret = await fetch("https://api.honeycomb.io/1/batch/zen", { |
