MCPcopy Create free account
hub / github.com/OpenDCAI/Paper2Any / resolve_cli_text_credentials

Function resolve_cli_text_credentials

script/cli_env.py:54–58  ·  view source on GitHub ↗
(api_url: str | None, api_key: str | None)

Source from the content-addressed store, hash-verified

52
53
54def resolve_cli_text_credentials(api_url: str | None, api_key: str | None) -> tuple[str, str]:
55 return (
56 api_url or os.getenv("DF_API_URL", "https://api.openai.com/v1"),
57 api_key or os.getenv("DF_API_KEY", ""),
58 )
59
60
61def resolve_cli_image_credentials(

Callers 5

run_ppt2polish_workflowFunction · 0.90
run_paper2ppt_workflowFunction · 0.90
run_pdf2ppt_workflowFunction · 0.90
run_image2ppt_workflowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected