Skip to content

fix(settings): treat heartbeat as default and restore on no ack - #67

Merged
NeilJo-GY merged 1 commit into
mainfrom
feat/owner-preferred-model-settings
Sep 1, 2026
Merged

fix(settings): treat heartbeat as default and restore on no ack#67
NeilJo-GY merged 1 commit into
mainfrom
feat/owner-preferred-model-settings

Conversation

@NeilJo-GY

Copy link
Copy Markdown
Contributor

Summary

  • Settings default model is the heartbeat runtime_model_id, not a leftover listing.
  • Save shows Syncing to the agent… while Gateway applies preferred-model (up to ~40s).
  • If Gateway returns agent_unreachable, show 机上没有回执,未保存 and restore the draft to the live runtime. Listing is not changed (Gateway #118).
  • Composer empty-pick falls through to runtime before listing, same SoT.

Depends on Gateway PR #118 (merged). Agent listen must be CLI 1.0.14 and restarted, or /runtime is forwarded away.

Test plan

  • Open owned agent Settings: default model matches heartbeat, not stale listing
  • Save a new default while agent is online: button says syncing, then saved; listing and heartbeat match
  • Save while agent is offline / listen old: error 「机上没有回执,未保存」, dropdown snaps back, listing unchanged
  • Makeup-only Save when heartbeat already matches: no apply wait, listing updates
  • Composer with no manual pick shows runtime, not leftover OpenRouter shelf id

Made with Cursor

Owner Save waits for the agent runtime. Show the live preferred model,
say when sync is in progress, and snap the draft back if Gateway returns
agent_unreachable so listing never impersonates a failed apply.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interfaze Ready Ready Preview Sep 1, 2026 1:26pm UTC

@NeilJo-GY
NeilJo-GY merged commit 1d8d740 into main Sep 1, 2026
3 checks passed
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