mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-03 06:35:00 +08:00
- Add Codex live handlers for unsupported translation/transcription/SIP endpoints, returning standardized `realtime_capability_not_supported` errors. - Implement `HandleHangup` to validate call ownership, select/refresh pinned OAuth credentials, forward hangup requests to upstream, and complete local session on success. - Add ephemeral client-secret infrastructure for local ephemeral auth: create/authenticate endpoints, token storage with expiry/capacity limits, session normalization/model mapping, and unified realtime error handling. Closes: #4726
16 lines
371 B
Modula-2
16 lines
371 B
Modula-2
module github.com/router-for-me/CLIProxyAPI/v7/examples/realtime-openai-go
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/openai/openai-go/v3 v3.50.0
|
|
)
|
|
|
|
require (
|
|
github.com/tidwall/gjson v1.19.0 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tidwall/sjson v1.2.5 // indirect
|
|
)
|