Skip to content

Commit

Permalink
Merge pull request #234 from lifeomic/ep/update-docs
Browse files Browse the repository at this point in the history
Update doc string
  • Loading branch information
epeters3 authored Nov 18, 2024
2 parents 306d697 + bb7930a commit c95d5f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phc/services/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ class Agents(BaseClient):
def invoke_basic(self, body: Union[str, List[Dict]]):
"""
Invokes a basic agent, which supports either a basic prompt string or a list of
messages which can include images as data urls.
messages which can include images as data urls. Requires the `invokeAgent` ABAC
permission with `agent: "api-basic-agent"` in the policy, or the `accessAdmin`
permission.
"""
return self._api_call(
"/v1/agents/basic/invoke", json={"input": body}, http_verb="POST"
Expand Down

0 comments on commit c95d5f7

Please sign in to comment.