Skip to content

docs(cef:develop): typegen model I/O + finding models in ROC#5

Merged
upalinski merged 2 commits into
mainfrom
docs/models-typegen-roc
Jul 20, 2026
Merged

docs(cef:develop): typegen model I/O + finding models in ROC#5
upalinski merged 2 commits into
mainfrom
docs/models-typegen-roc

Conversation

@upalinski

Copy link
Copy Markdown
Collaborator

Small follow-up to two review comments on #4 (merged):

  1. cef typegen types model input/output. Made explicit in engagements.md that typegen fetches each model's spec and fills KnownModels as ModelHandle<I, O> — so both the input and output of infer/stream are typed, not just the alias (falls back to untyped without typegen).
  2. Finding available models. Added a note that you browse models and copy a model's ref from ROC (there is no CLI command to list them), paste it into models in cef.config.ts, then run cef typegen. Short pointer added to the anatomy models field too.

claude plugin validate ✔.

🤖 Generated with Claude Code

…in ROC

Follow-up to review comments on #4:
- spell out that cef typegen types both input AND output of ctx.models.*.infer/
  stream (ModelHandle<I,O>), not just the alias
- note available models + their refs come from ROC (no CLI list command)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@upalinski
upalinski requested a review from spoluyan as a code owner July 20, 2026 14:03
…ting

Make the 'run cef typegen after adding a model' rule prominent in the
always-loaded SKILL.md body (not only in the engagements reference), and point
the routing table at ctx.models. So an agent reliably runs typegen for correct
model input/output types.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@upalinski
upalinski merged commit 54e054e into main Jul 20, 2026
3 checks passed
@upalinski
upalinski deleted the docs/models-typegen-roc branch July 20, 2026 14:16
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.

1 participant