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

Function _ends_with_version_segment

proxy/csswitch_proxy.py:333–334  ·  view source on GitHub ↗
(base)

Source from the content-addressed store, hash-verified

331
332
333def _ends_with_version_segment(base):
334 return bool(re.search(r"/v\d+(?:\.\d+)?$", base))
335
336
337def openai_endpoint(base, suffix):

Callers 1

openai_endpointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected