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

Method round_robin

camel/models/model_manager.py:156–162  ·  view source on GitHub ↗

r"""Return models one by one in simple round-robin fashion. Returns: BaseModelBackend for processing incoming messages.

(self)

Source from the content-addressed store, hash-verified

154
155 # Strategies
156 def round_robin(self) -> BaseModelBackend:
157 r"""Return models one by one in simple round-robin fashion.
158
159 Returns:
160 BaseModelBackend for processing incoming messages.
161 """
162 return next(self.models_cycle)
163
164 def always_first(self) -> BaseModelBackend:
165 r"""Always return the first model from self.models.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected