Skip to content

Clean up stored model arg loading - #300

Merged
iZarrios merged 1 commit into
devfrom
clean-up-model-arg-loading
Sep 30, 2026
Merged

iZarrios merged 1 commit into
devfrom
clean-up-model-arg-loading

Conversation

@iZarrios

Copy link
Copy Markdown
Member

This PR cleans up how Model::LoadModelDetails reads stored model args. It now loads the stored model once, only when the model JSON wasn't already resolved at bind time, instead of each field deciding separately whether to query storage.

The refactor started as a fix for intermittent Model not found errors in llm_first/llm_last.

@iZarrios iZarrios changed the title Load stored model args once, only for unresolved model JSON Clean up stored model arg loading Sep 30, 2026
@iZarrios
iZarrios merged commit 4cc2b88 into dev Sep 30, 2026
14 checks passed
@iZarrios
iZarrios deleted the clean-up-model-arg-loading branch September 30, 2026 07:24
iZarrios added a commit that referenced this pull request Sep 30, 2026
iZarrios added a commit that referenced this pull request Sep 30, 2026
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