MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / current_model_index

Method current_model_index

camel/models/model_manager.py:109–115  ·  view source on GitHub ↗

r"""Return the index of current model in self.models list. Returns: int: index of current model in given list of models.

(self)

Source from the content-addressed store, hash-verified

107
108 @property
109 def current_model_index(self) -> int:
110 r"""Return the index of current model in self.models list.
111
112 Returns:
113 int: index of current model in given list of models.
114 """
115 return self.models.index(self.current_model)
116
117 @property
118 def token_limit(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected