Skip to content

Commit

Permalink
Print the necessary resource for the action in error log (#2197)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sween1y authored Dec 17, 2024
1 parent ed96b95 commit 38a8fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbgpt/agent/core/base_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def check_available(self) -> None:
or not self.resource.get_resource_by_type(action.resource_need)
):
raise ValueError(
f"{self.name}[{self.role}] Missing resources required for "
f"{self.name}[{self.role}] Missing resources[{action.resource_need}] required for "
"runtime!"
)
else:
Expand Down

0 comments on commit 38a8fc1

Please sign in to comment.