Skip to content

feat(core): distinguish model usage intent from config slot#2464

Merged
EAGzzyCSL merged 1 commit into
mainfrom
zzy/semantic-intent-split-in-model-config
May 13, 2026
Merged

feat(core): distinguish model usage intent from config slot#2464
EAGzzyCSL merged 1 commit into
mainfrom
zzy/semantic-intent-split-in-model-config

Conversation

@EAGzzyCSL
Copy link
Copy Markdown
Collaborator

@EAGzzyCSL EAGzzyCSL commented May 12, 2026

This change separates two model usage concepts:

  • intent: the semantic purpose of the model call, such as default, planning, or insight.
  • slot: the resolved model config slot actually used, such as default when a planning call falls back to the default model config.

This makes report usage clearer: the UI shows what the call was for, while the raw usage still records where the model config came from.

It also updates the related types, report/visualizer reads, and unit tests for fallback and usage annotation cases.

@EAGzzyCSL EAGzzyCSL force-pushed the zzy/semantic-intent-split-in-model-config branch from ec5db4c to 0d4451a Compare May 12, 2026 12:04
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 12, 2026

Deploying midscene with  Cloudflare Pages  Cloudflare Pages

Latest commit: 26c2137
Status: ✅  Deploy successful!
Preview URL: https://16f066a3.midscene.pages.dev
Branch Preview URL: https://zzy-semantic-intent-split-in.midscene.pages.dev

View logs

@EAGzzyCSL EAGzzyCSL force-pushed the zzy/semantic-intent-split-in-model-config branch from 0d4451a to bd3e3ff Compare May 13, 2026 03:04
@EAGzzyCSL EAGzzyCSL changed the title refactor(core): split model config intent fields feat(core): distinguish model usage intent from config slot May 13, 2026
@EAGzzyCSL EAGzzyCSL force-pushed the zzy/semantic-intent-split-in-model-config branch from bd3e3ff to 26c2137 Compare May 13, 2026 03:48
@EAGzzyCSL EAGzzyCSL merged commit f956d41 into main May 13, 2026
9 of 10 checks passed
@EAGzzyCSL EAGzzyCSL deleted the zzy/semantic-intent-split-in-model-config branch May 13, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants