Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/showlab/Code2Video
/ cfg
Function
cfg
src/gpt_request.py:18–19 ·
view source on GitHub ↗
(svc: str, key: str, default=None)
Source
from the content-addressed store, hash-verified
16
17
18
def
cfg(svc: str, key: str, default=None):
19
return
os.getenv(f
"{svc}_{key}"
.upper(), _CFG.get(svc, {}).get(key, default))
20
21
22
def
generate_log_id():
Callers
15
request_claude
Function · 0.85
request_claude_token
Function · 0.85
request_gemini_with_video
Function · 0.85
request_gemini_video_img
Function · 0.85
request_gemini_video_img_token
Function · 0.85
request_gemini
Function · 0.85
request_gemini_token
Function · 0.85
request_gpt4o
Function · 0.85
request_gpt4o_token
Function · 0.85
request_o4mini
Function · 0.85
request_o4mini_token
Function · 0.85
request_gpt5
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected