-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This page: https://github.com/gleanwork/api-client-python/blob/main/docs/sdks/agents/README.md lists the parameters for agent runs as:
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
agent_id |
str | ✔️ | The ID of the agent to run. |
input |
Dict[str, Any] | ➖ | The input to the agent. |
messages |
List[models.Message] | ➖ | The messages to pass an input to the agent. |
metadata |
Dict[str, Any] | ➖ | The metadata to pass to the agent. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
Attempting to use input
leads to:
TypeError: Agents.run() got an unexpected keyword argument 'input'. Did you mean 'input_'?
Modifying the parameter to input_
works, which lines up with what is actually in the code:
input_: Optional[Dict[str, Any]] = None, |
Metadata
Metadata
Assignees
Labels
No labels