diff --git a/crab/agents/backend_models/openai_model.py b/crab/agents/backend_models/openai_model.py index 4c9827e..2d1eb23 100644 --- a/crab/agents/backend_models/openai_model.py +++ b/crab/agents/backend_models/openai_model.py @@ -46,6 +46,10 @@ def __init__( self.client = openai.OpenAI(base_url=base_url) self.tool_call_required: bool = tool_call_required self.system_message: str = "You are a helpful assistant." + self.openai_system_message = { + "role": "system", + "content": self.system_message, + } self.action_space: list[Action] | None = None self.action_schema: list[dict] | None = None self.token_usage: int = 0