yuxiqian commented on code in PR #4507:
URL: https://github.com/apache/flink-cdc/pull/4507#discussion_r3800910802
##########
flink-cdc-pipeline-model/pom.xml:
##########
@@ -31,6 +31,7 @@ limitations under the License.
<modules>
<module>flink-cdc-pipeline-model-legacy</module>
<module>flink-cdc-pipeline-model-dummy</module>
+ <module>flink-cdc-pipeline-model-openai-compatible</module>
</modules>
Review Comment:
Seems we didn't include the discovered AI model client jars into the
composer translator. So if we just put the
`flink-cdc-pipeline-model-openai-compatible.jar` in `flink-cdc/lib`, there will
be the following exception:
```
Caused by: java.lang.ClassNotFoundException:
org.apache.flink.cdc.models.openai.OpenAiCompatibleModelClient
```
Though we can use `--jar` as a workaround, it would be better by calling
`FlinkEnvironmentUtils.addJar(...)` for discovered AI model client jars, just
like source and sink factories.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]