Skip to content

deprecate: mark Threads, Messages, and Runs classes as deprecated - #249

Merged
lzsweb merged 2 commits into
mainfrom
dev/issues-5
Jul 30, 2026
Merged

deprecate: mark Threads, Messages, and Runs classes as deprecated#249
lzsweb merged 2 commits into
mainfrom
dev/issues-5

Conversation

@lzsweb

@lzsweb lzsweb commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Add @deprecated annotation and Javadoc to thread-related classes to guide users toward the new Responses API.

  • Threads.java: deprecated with migration guidance
  • Messages.java: deprecated with migration guidance
  • Runs.java: deprecated with migration guidance

All classes now include:

  • @deprecated Javadoc tag explaining deprecation
  • Link to Responses API documentation
  • @deprecated annotation for IDE warnings

Reference: https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference

Add @deprecated annotation and Javadoc to thread-related classes to guide
users toward the new Responses API.

- Threads.java: deprecated with migration guidance
- Messages.java: deprecated with migration guidance
- Runs.java: deprecated with migration guidance

All classes now include:
- @deprecated Javadoc tag explaining deprecation
- Link to Responses API documentation
- @deprecated annotation for IDE warnings

Reference: https://help.aliyun.com/zh/model-studio/synchronous-call-api-reference
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@lzsweb
lzsweb merged commit 375d40a into main Jul 30, 2026
3 checks passed
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