Skip to content

Conversation

@seefeldb
Copy link
Contributor

@seefeldb seefeldb commented Nov 15, 2025

also makes a bunch of parts that were async sync now, which might fix some races


Summary by cubic

Expose the result schema on the process’s resultRef link and switch LLM tools to use it for schema discovery. This makes schema docs available in prompts and makes the schema tool faster and more reliable.

  • New Features

    • Attach recipe.resultSchema to resultRef links (includeSchema) when available.
    • LLM dialog reads schema from cell.schema or resultRef.schema and appends brief schema docs to the system prompt.
    • The schema tool returns the discovered JSON Schema synchronously and works for any cell path.
  • Refactors

    • Replaced async schema fetching with sync helpers; removed runtime recipe loading in LLM tools.
    • Made request startup synchronous to reduce race conditions.

Written for commit 5364e8d. Summary will update automatically on new commits.

…n llm tools

also makes a bunch of parts that were async sync now, which might fix some races
@seefeldb seefeldb force-pushed the feat/make-result-schema-discoverable branch from 7a06736 to 5364e8d Compare November 15, 2025 00:54
@seefeldb seefeldb merged commit d0f6527 into main Nov 15, 2025
8 checks passed
@seefeldb seefeldb deleted the feat/make-result-schema-discoverable branch November 15, 2025 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants