MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / normalize_codex2api_url

Function normalize_codex2api_url

src/core/upload/codex2api_upload.py:19–21  ·  view source on GitHub ↗

规范化 codex2api 根地址。

(api_url: str)

Source from the content-addressed store, hash-verified

17
18
19def normalize_codex2api_url(api_url: str) -> str:
20 """规范化 codex2api 根地址。"""
21 return (api_url or "").strip().rstrip("/")
22
23
24def build_codex2api_import_entries(accounts: List[Account]) -> List[dict]:

Callers 2

upload_to_codex2apiFunction · 0.85

Calls

no outgoing calls

Tested by 1