Skip to content

fix(aigateway): fix empty resource id for internal models when cache matched#977

Merged
Rader merged 3 commits intomainfrom
sync_1055ccb
Apr 9, 2026
Merged

fix(aigateway): fix empty resource id for internal models when cache matched#977
Rader merged 3 commits intomainfrom
sync_1055ccb

Conversation

@csg-pr-bot
Copy link
Copy Markdown
Collaborator

Automated sync of commit 1055ccb. Depends on #None

Copy link
Copy Markdown

@utafrali utafrali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core fix is correct and well-targeted: adding CSGHubModelID, OwnerUUID, and SvcType to MarshalJSON/UnmarshalJSON directly solves the empty resource_id problem after a cache hit. However, the PR cannot compile as-is because TestModel_SkipBalance references three undefined symbols (MetaTaskKey, MetaTaskValGuard, SkipBalance()), which must be resolved before merging.

@Rader Rader merged commit 45bc1c1 into main Apr 9, 2026
7 checks passed
@Rader Rader deleted the sync_1055ccb branch April 9, 2026 11:27
Rader added a commit that referenced this pull request Apr 10, 2026
…matched (#977)

* fix(aigateway): fix empty resource id for internal models when cache matched

* fix test

---------

Co-authored-by: Dev Agent <dev-agent@example.com>
Co-authored-by: rader <ld_leida@hotmail.com>
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.

3 participants