Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Sep 23, 2025

This PR regenerates code to match the latest API Definition.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

public update(
id: string,
request: phenoml.agent.AgentUpdateRequest = {},
request: phenoml.agent.AgentCreateRequest,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Incorrect Request Type and Mandatory Fields in Agent Update

The client.agent.update method's request parameter, both in its signature and documentation, now incorrectly uses phenoml.AgentCreateRequest instead of phenoml.agent.AgentUpdateRequest. Additionally, the parameter is no longer optional. This breaks existing API calls and goes against the typical pattern for update operations, which usually allow partial, optional fields.

Additional Locations (1)

Fix in Cursor Fix in Web

@gavinsharp gavinsharp closed this Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant