Skip to content

feat!: add GetChannel endpoint#70

Open
mogita wants to merge 1 commit into
mainfrom
feat/cha-3741-add-getchannel-endpoint
Open

feat!: add GetChannel endpoint#70
mogita wants to merge 1 commit into
mainfrom
feat/cha-3741-add-getchannel-endpoint

Conversation

@mogita

@mogita mogita commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Regenerates the SDK from the current API spec. Adds the read-only GetChannel endpoint:

  • client.chat().getChannel(type, id, request) (and getChannel(type, id)) fetches a channel by CID without creating it (404 if it does not exist). Returns StreamRequest<ChannelStateResponse>. Includes a channel-level wrapper.

Breaking changes

Regeneration also syncs accumulated spec drift. Two fields are removed because they are no longer in the API spec:

  • analyze_max_image_size_bytes
  • webhook_header_client_request_id_key

These had no server-side binding and were non-functional, so removing them has no runtime impact, but it is source-breaking for code referencing them. Warrants a major version bump at release.

Test plan

  • ./gradlew clean spotlessApply build -x test passes (run during generation).
  • Tests run in CI.

Regenerate SDK from the current API spec. Adds the read-only getChannel
endpoint returning StreamRequest<ChannelStateResponse>, plus a channel-level
wrapper.

BREAKING CHANGE: removes 2 fields (analyze_max_image_size_bytes, webhook_header_client_request_id_key) no longer present in the API spec. They had no server-side binding and were non-functional; no runtime impact.
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