mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 05:37:20 +08:00
clarify docstring for provider token reference (#13386)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -471,7 +471,7 @@ class ProviderHandler:
|
||||
def check_cmd_action_for_provider_token_ref(
|
||||
cls, event: Action
|
||||
) -> list[ProviderType]:
|
||||
"""Detect if agent run action is using a provider token (e.g $GITHUB_TOKEN)
|
||||
"""Detect if agent run action is using a provider token (e.g github_token)
|
||||
Returns a list of providers which are called by the agent
|
||||
"""
|
||||
if not isinstance(event, CmdRunAction):
|
||||
|
||||
Reference in New Issue
Block a user