Skip to content

Commit 997cc7b

Browse files
Change func names to use 'env' instead of 'bgym'
1 parent 1d7060c commit 997cc7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agentlab/llm/response_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ def add_tool_call(self, tool_call: ToolCall) -> "ToolCalls":
8585
self.tool_calls.append(tool_call)
8686
return self
8787

88-
def get_bgym_action_calls(self) -> List[ToolCall]:
88+
def get_env_action_calls(self) -> List[ToolCall]:
8989
"""Get all tool calls that are reserved BGYM actions."""
9090
return [call for call in self.tool_calls if call.is_env_action]
9191

92-
def get_non_bgym_action_calls(self) -> List[ToolCall]:
92+
def get_non_env_action_calls(self) -> List[ToolCall]:
9393
"""Get all tool calls that are not reserved BGYM actions."""
9494
return [call for call in self.tool_calls if not call.is_env_action]
9595

0 commit comments

Comments
 (0)