Skip to content

Conversation

@GreatEugenius
Copy link
Collaborator

@GreatEugenius GreatEugenius commented Nov 12, 2025

Linked issue: #313

Purpose of change

Support the use of Python ChatModel in Java Flink Agents jobs.

Tests

ut

API

no

Documentation

  • doc-needed
  • doc-not-needed

@GreatEugenius GreatEugenius changed the title [feature]: Support Python ChatModel in Java Support the use of Python ChatModel in Java Nov 12, 2025
@GreatEugenius GreatEugenius changed the title Support the use of Python ChatModel in Java [feature][runtime] Support the use of Python ChatModel in Java Nov 12, 2025
@GreatEugenius
Copy link
Collaborator Author

@Sxnan @wenjin272 please help take a look this PR, thanks.

@GreatEugenius GreatEugenius changed the title [feature][runtime] Support the use of Python ChatModel in Java [Feature][runtime] Support the use of Python ChatModel in Java Nov 12, 2025
@GreatEugenius GreatEugenius added priority/major Default priority of the PR or issue. fixVersion/0.2.0 The feature or bug should be implemented/fixed in the 0.2.0 version. labels Nov 14, 2025
@github-actions github-actions bot added the doc-needed Your PR changes impact docs. label Nov 14, 2025
Copy link
Collaborator

@wenjin272 wenjin272 left a comment

Choose a reason for hiding this comment

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

Hi, @GreatEugenius, thanks for your work. Overall looks good to me . I left some comments about details.

Besides, I think this pr should add some test cases to show how to declare an agent in java using python chat model, and verify the behavior.

Copy link
Contributor

@Sxnan Sxnan left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. However, the PR lacks tests. For such a complex feature, we need to have unit tests and e2e tests.

@GreatEugenius GreatEugenius force-pushed the python-chatmodel-in-java branch 2 times, most recently from 44f5690 to e6c063f Compare November 17, 2025 11:30
@GreatEugenius
Copy link
Collaborator Author

Hi @Sxnan and @wenjin272, thank you for the review! I have updated this PR and added a PythonChatModel example for the end-to-end test. Please take a look. Thanks!

@GreatEugenius GreatEugenius force-pushed the python-chatmodel-in-java branch 2 times, most recently from afb3b60 to 57b88dc Compare November 19, 2025 06:27
@GreatEugenius GreatEugenius requested a review from Sxnan November 19, 2025 06:29
@GreatEugenius
Copy link
Collaborator Author

Hi @Sxnan, thank you for the review! I have updated this PR; please review it again.

@GreatEugenius GreatEugenius force-pushed the python-chatmodel-in-java branch 4 times, most recently from d19b8c3 to 8bc4c9c Compare November 25, 2025 05:41
@GreatEugenius GreatEugenius force-pushed the python-chatmodel-in-java branch 2 times, most recently from 99d1407 to a1b6fe2 Compare December 2, 2025 03:44
@GreatEugenius GreatEugenius force-pushed the python-chatmodel-in-java branch from a1b6fe2 to 92dbb6c Compare December 2, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-needed Your PR changes impact docs. fixVersion/0.2.0 The feature or bug should be implemented/fixed in the 0.2.0 version. priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants