MCPcopy Index your code
hub / github.com/FSoft-AI4Code/CodeWiki / complete

Method complete

codewiki/src/be/pydantic_ai_backend.py:47–54  ·  view source on GitHub ↗
(
        self,
        prompt: str,
        *,
        model: str | None = None,
        temperature: float = 0.0,
    )

Source from the content-addressed store, hash-verified

45 self._custom_instructions = config.get_prompt_addition()
46
47 def complete(
48 self,
49 prompt: str,
50 *,
51 model: str | None = None,
52 temperature: float = 0.0,
53 ) -> str:
54 return call_llm(prompt, self._config, model=model, temperature=temperature)
55
56 async def run_module_agent(
57 self,

Callers

nothing calls this directly

Calls 1

call_llmFunction · 0.90

Tested by

no test coverage detected