Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: STaR Integration #1514

Merged
merged 13 commits into from
Jan 30, 2025
5 changes: 2 additions & 3 deletions camel/agents/chat_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,8 @@ def step(
self.model_backend.model_config_dict.get("response_format")
and response_format
):
raise ValueError(
"The `response_format` parameter cannot be set both in "
"the model configuration and in the ChatAgent step."
logger.warning(
f"Overriding the response format with {response_format}."
)

self.original_model_dict = self.model_backend.model_config_dict
Expand Down
2 changes: 2 additions & 0 deletions camel/datagen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

from .cotdatagen import CoTDataGenerator
from .self_instruct import SelfInstructPipeline
from .star import STaRPipeline

__all__ = [
"CoTDataGenerator",
"SelfInstructPipeline",
"STaRPipeline",
]
Loading