Skip to content

fix: ensure that model name in summary is the **resolved** name without wildcards#59

Merged
scastlara merged 1 commit into
mainfrom
model-wild-summary
Jun 23, 2025
Merged

fix: ensure that model name in summary is the **resolved** name without wildcards#59
scastlara merged 1 commit into
mainfrom
model-wild-summary

Conversation

@scastlara

Copy link
Copy Markdown
Collaborator

We were showing stuff like "gemini-flash-*" in the summary comment, when we actually want to show the real model resolved.

@github-actions github-actions Bot added the fix Fixes an issue or a bug label Jun 23, 2025
@scastlara

Copy link
Copy Markdown
Collaborator Author

/lgtm review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🦉 lgtm Review

Score: LGTM 👍

🔍 Summary

This PR successfully addresses the issue where review summaries displayed wildcard model names (e.g., "gemini-flash-*") instead of the actual resolved model name (e.g., "gemini-2.0-flash"). The changes accurately update the PublishMetadata with the resolved model_name and are thoroughly supported by updated tests. The overall quality of the code is high, and the PR is ready to be merged.

More information
  • Id: 4ff4dfd53cf040aab8c4c7846c66fcaa
  • Model: gemini-2.5-flash-preview-05-20
  • Created at: 2025-06-23T10:43:22.772044+00:00
Usage summary
Call 1
  • Request count: 1
  • Request tokens: 7807
  • Response tokens: 71
  • Total tokens: 8695
Call 2
  • Request count: 1
  • Request tokens: 2880
  • Response tokens: 115
  • Total tokens: 4206

Total tokens: 12901

See the 📚 lgtm-ai repository for more information about lgtm.

@scastlara
scastlara merged commit e867224 into main Jun 23, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fixes an issue or a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants