MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / __init__

Method __init__

codewiki/src/be/pydantic_ai_backend.py:42–45  ·  view source on GitHub ↗
(self, config: Config)

Source from the content-addressed store, hash-verified

40 """API-key based backend using pydantic-ai + openai/litellm clients."""
41
42 def __init__(self, config: Config) -> None:
43 self._config = config
44 self._fallback_models = create_fallback_models(config)
45 self._custom_instructions = config.get_prompt_addition()
46
47 def complete(
48 self,

Callers

nothing calls this directly

Calls 2

create_fallback_modelsFunction · 0.90
get_prompt_additionMethod · 0.45

Tested by

no test coverage detected