We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f03986 commit ab7ef24Copy full SHA for ab7ef24
openevolve/llm/ensemble.py
@@ -57,6 +57,7 @@ async def generate_with_context(
57
58
def _sample_model(self) -> LLMInterface:
59
"""Sample a model from the ensemble based on weights"""
60
+ logger.info(f"Sampled model: {vars(self.models[index])['model']}")
61
index = self.random_state.choices(range(len(self.models)), weights=self.weights, k=1)[0]
62
return self.models[index]
63
0 commit comments