da-daken commented on PR #1453: URL: https://github.com/apache/flink-agents/pull/1453#issuecomment-7158452136
The Java decision-model extension points matter to the proposed fix, so the PR should not blanket-reject `type: java` for `decision_model_connections` / `decision_model_setups`. Current behavior: - Programmatic Java decision models are supported: `@DecisionModelConnection`, `@DecisionModelSetup`, `BaseDecisionModelConnection`, and `BaseDecisionModelSetup`; `AgentPlanDeclareDecisionModelTest` covers their registration and plan round-trip. - YAML has only Python decision aliases (`typesafe`, `openai`), and `Aliases.resolveClazz` leaves unknown names unchanged. - Therefore `type: java` + `clazz: typesafe` currently produces a Java descriptor with class `"typesafe"` and fails later. Expected fix: retain Java descriptor support for the decision-model sections, but reject an unresolved Python-only short alias when `type: java` is used. Fully-qualified custom Java class names should continue to work. A language-only allowlist would incorrectly remove the existing YAML path to custom Java implementations. -- 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]
