GreatEugenius opened a new issue, #469: URL: https://github.com/apache/flink-agents/issues/469
### Search before asking - [x] I searched in the [issues](https://github.com/apache/flink-agents/issues) and found nothing similar. ### Description ### Current Behavior Users must manually specify full Java class paths when creating cross-language `ResourceDescriptor`: ```python return ResourceDescriptor( clazz=Constant.PYTHON_CHAT_MODEL_CONNECTION, java_clazz="org.apache.flink.agents.integrations.chatmodels.ollama.OllamaChatModelConnection", endpoint="http://localhost:11434", request_timeout=120, ) ``` **Problems:** - Flat `Constant` class lacks discoverability - Cross-language users must hardcode Java class paths as strings ### Goal Introduce hierarchical `ResourceClassName` structure: ```python return ResourceDescriptor( clazz=ResourceClassName.ChatModel.PythonWrapper.CONNECTION, java_clazz=ResourceClassName.ChatModel.Java.Ollama.CONNECTION, endpoint="http://localhost:11434", request_timeout=120, ) ``` ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- 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]
