MCPcopy Create free account
hub / github.com/SuperJJ007/CSSwitch / openai_endpoint

Function openai_endpoint

proxy/csswitch_proxy.py:337–341  ·  view source on GitHub ↗
(base, suffix)

Source from the content-addressed store, hash-verified

335
336
337def openai_endpoint(base, suffix):
338 root = normalize_openai_base(base)
339 if not _ends_with_version_segment(root):
340 root = root + "/v1"
341 return root + suffix
342
343
344def _upstream_auth_headers():

Callers 1

csswitch_proxy.pyFile · 0.85

Calls 2

normalize_openai_baseFunction · 0.85

Tested by

no test coverage detected