MCPcopy Index your code
hub / github.com/HKUDS/DeepCode / _get_fallback_models

Function _get_fallback_models

utils/llm_utils.py:278–293  ·  view source on GitHub ↗

Return fallback model configuration when config file is unavailable.

()

Source from the content-addressed store, hash-verified

276
277
278def _get_fallback_models():
279 """Return fallback model configuration when config file is unavailable."""
280 google = "gemini-2.0-flash"
281 anthropic = "claude-sonnet-4-20250514"
282 openai = "o3-mini"
283 return {
284 "google": google,
285 "google_planning": google,
286 "google_implementation": google,
287 "anthropic": anthropic,
288 "anthropic_planning": anthropic,
289 "anthropic_implementation": anthropic,
290 "openai": openai,
291 "openai_planning": openai,
292 "openai_implementation": openai,
293 }
294
295
296def get_document_segmentation_config(

Callers 1

get_default_modelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected