Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dandansamax committed Sep 19, 2024
1 parent 1c75569 commit 0830a38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crab/agents/backend_models/openai_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0830a38

Please sign in to comment.