mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 13:09:46 +00:00
zen: update logged endpoints
This commit is contained in:
parent
ee6ceb4c64
commit
5a96ee8e1b
1 changed files with 6 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue