zen: update logged endpoints

This commit is contained in:
Frank
2025-09-23 09:15:55 -04:00
parent ee6ceb4c64
commit 5a96ee8e1b

View File

@@ -9,7 +9,12 @@ export default {
if (event.event.request.method !== "POST") continue
const url = new URL(event.event.request.url)
if (url.pathname !== "/zen/v1/chat/completions") return
if (
url.pathname !== "/zen/v1/chat/completions" &&
url.pathname !== "/zen/v1/messages" &&
url.pathname !== "/zen/v1/responses"
)
return
let metrics = {
event_type: "completions",