Croway opened a new pull request, #26768:
URL: https://github.com/apache/camel/pull/26768

   ## Summary
   
   - Add `questionsResource` so routes can load and validate named Noul, 
Choice, and Score questions from a classpath or file JSON resource at endpoint 
startup. Keep the existing inline `questions` option; reject configurations 
that set both.
   - Document the JSON shape and provide a Camel-maintained JSON Schema for 
editor validation. Regenerate component, catalog, and endpoint DSL metadata.
   - Add a reusable System One HTTP mock in 
`camel-test-infra-typesafe-ai-mock`. Example route tests use it by default and 
bypass it when a compatible API base URL and key are supplied.
   - Cover the quickstart, triage, extraction cascade, and tool selection 
routes. Add `components/camel-ai/camel-typesafe-ai/test-execution.md` with the 
external Laya setup and test command.
   
   ## Validation
   
   - `camel-test-infra-typesafe-ai-mock`: `mvn install` — 3 tests passed.
   - `camel-typesafe-ai`: `mvn verify` — 141 tests passed, including 4 example 
route tests and 4 JSON resource tests.
   - `camel-endpointdsl`: `mvn -DskipTests install` passed.
   - The 4 example route tests also passed against a running local Laya System 
One API using `TYPESAFE_AI_BASE_URL=http://127.0.0.1:8000`, 
`TYPESAFE_AI_API_KEY=local-test`, and `TYPESAFE_AI_MODEL=laya-rl-agent`.
   
   The mock returns deterministic protocol-compatible answers to exercise route 
wiring; external model decisions are allowed to vary. No Docker image or model 
is needed for the default test run.
   
   _OpenAI Codex on behalf of @Croway._
   


-- 
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]

Reply via email to