MCPcopy
hub / github.com/langroid/langroid / info

Method info

langroid/language_models/base.py:670–677  ·  view source on GitHub ↗

Info of relevant chat model

(self)

Source from the content-addressed store, hash-verified

668 return fallbacks
669
670 def info(self) -> ModelInfo:
671 """Info of relevant chat model"""
672 orig_model = (
673 self.config.completion_model
674 if self.config.use_completion_for_chat
675 else self.chat_model_orig
676 )
677 return get_model_info(orig_model, self._fallback_model_names(orig_model))
678
679 def completion_info(self) -> ModelInfo:
680 """Info of relevant completion model"""

Callers 15

git_init_repoFunction · 0.80
git_commit_fileFunction · 0.80
git_commit_modsFunction · 0.80
git_restore_repoFunction · 0.80
git_restore_fileFunction · 0.80
statusFunction · 0.80
__init__Method · 0.80
unsupported_paramsMethod · 0.80
rename_paramsMethod · 0.80
chat_context_lengthMethod · 0.80

Calls 2

_fallback_model_namesMethod · 0.95
get_model_infoFunction · 0.90