gleanwork / gleanwork/api-client-python
`agents.retrieve` throwing 500
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20
- Forks
- 10
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 17
Description
ENVIRONMENT:
- SDK version: 0.6.6
- Python: 3.13.5
- OS: linux
- Date Reported: 07/02/2025
REPRODUCING:
with Glean(api_token=config.GLEAN_API_TOKEN, instance=config.GLEAN_INSTANCE) as glean:
agent = glean.client.agents.retrieve(agent_id=config.GLEAN_AGENT_ID)
Other endpoints such as retrieve_schemas and list are working with the same config
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided agents.retrieve call with SDK 0.6.6, Python 3.13.5, and the same configuration, then compare its behavior with retrieve_schemas and list. Inspect the request and response handling for the retrieve endpoint; done means the call no longer returns HTTP 500 under the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100