MCPcopy
hub / github.com/showlab/Code2Video / _call_text_api

Function _call_text_api

src/eval_TQ.py:102–104  ·  view source on GitHub ↗
(prompt: str)

Source from the content-addressed store, hash-verified

100
101@retry(max_retries=3, base_delay=0.6, jitter=0.3)
102def _call_text_api(prompt: str) -> str:
103 response = request_gemini(prompt=prompt)
104 return extract_answer_from_response(response)
105
106
107@retry(max_retries=3, base_delay=0.6, jitter=0.3)

Callers 1

make_mllm_apiFunction · 0.85

Calls 2

request_geminiFunction · 0.90

Tested by

no test coverage detected