Repository navigation
feat(runtime-host): execute hosted sessions with real models - #1637
Merged
Astro-Han merged 3 commits intoJul 30, 2026
Merged
Conversation
M4n5ter
marked this pull request as ready for review
July 30, 2026 02:22
Contributor
|
I found two lifecycle issues:
|
Member
Author
|
@Astro-Han Both lifecycle issues above have been fixed in 696a5e9: backend creation now aborts stalled connection/pricing reads, and usage admission remains open until active turns and backends settle. Regression coverage was added for both cases, and CI is green. Please take another look when convenient. |
Astro-Han
approved these changes
Jul 30, 2026
Astro-Han
left a comment
Contributor
There was a problem hiding this comment.
Rechecked 696a5e915. Both earlier issues are fixed. Backend creation now observes cancellation while connection and pricing reads are pending. Usage admission also stays open until active turns and backends settle. The new tests cover both paths. No findings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
English
Summary
Enable Runtime Host to execute hosted Sessions against real providers through AI SDK backends constructed from canonical Runtime Policy state.
Execution authority
Prompt and tools
Skill, andSkillSearch; refresh it on the next turn.Attribution and lifecycle
mainandhistory_compactcall kinds.Boundaries
This change does not add OAuth execution, Runtime Resource, Automation, Goal, Native, or Browser authority. It also does not switch Desktop or CLI production routing to Runtime Host.
Validation
openrouter/freeexecution through the production Runtime Host compositiongit diff --checkPart of #1167 and #853.
简体中文
概要
让 Runtime Host 能够根据权威 Runtime Policy 状态构造 AI SDK backend,并通过真实 provider 执行托管 Session。
执行权威
Prompt 与工具
Skill和SkillSearch在同一 turn 内共享一份 Skill inventory,并在下一 turn 刷新。归因与生命周期
main和history_compact分别记录 usage 与 pricing。边界
本次变更不增加 OAuth 执行、Runtime Resource、Automation、Goal、Native 或 Browser 权威,也不切换 Desktop 或 CLI 的生产执行路由。
验证
openrouter/free调用git diff --check属于 #1167 和 #853 的一部分。