embabel: move to 1.5.4, add Spring Boot application, deterministic testing layers and measured failure modes

Spring Boot starter and OpenAI-compatible model module behind a REST endpoint, tested against a fake provider
on localhost. FakeOperationContext and EmbabelMockitoIntegrationTest examples, retry multiplication, a STUCK
process surfacing as NullPointerException, two-goal agents, and plain Spring AI with the branches written.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
This commit is contained in:
Claude
2026-12-04 07:48:11 +05:30
parent 5323e6c71a
commit 38c9ca8452
34 changed files with 886 additions and 15 deletions
+7
View File
@@ -0,0 +1,7 @@
First request body on the wire, same user question. The date is replaced with <today>.
Embabel createObject(prompt, Summary.class):
{"messages":[{"content":"Current date: <today>\n\n\n\nYour response should be in JSON format.\nDo not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation.\nDo not include markdown code blocks in your response.\nRemove the ```json markdown from the output.\nHere is the JSON Schema instance your output must adhere to:\n```{\n \"$schema\" : \"https://json-schema.org/draft/2020-12/schema\",\n \"type\" : \"object\",\n \"properties\" : {\n \"text\" : {\n \"type\" : \"string\"\n }\n },\n \"additionalProperties\" : false\n}```\n","role":"system"},{"content":"Summarise these notes in one sentence: JEP 444 makes virtual threads final in Java 21. Virtual threads are cheap to block, so thread-per-request scales again.","role":"user"}],"model":"scripted-model"}
Plain Spring AI chat.prompt().user(prompt).call().content():
{"messages":[{"content":"Summarise these notes in one sentence: JEP 444 makes virtual threads final in Java 21. Virtual threads are cheap to block, so thread-per-request scales again.","role":"user"}],"model":"scripted-model"}