Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/daily-model-inventory.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 14 additions & 12 deletions .github/workflows/daily-model-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ tools:
- "jq . /tmp/gh-aw/model-inventory/artifacts/copilot-billing-multipliers/multipliers.json"
- "jq '.models[]' /tmp/gh-aw/model-inventory/artifacts/copilot-billing-multipliers/multipliers.json"
- "find /tmp/gh-aw/model-inventory -type f"
- "cat pkg/workflow/model_aliases.go"
- "cat pkg/workflow/data/model_aliases.json"
- "cat pkg/cli/data/model_multipliers.json"
github:
toolsets: [default]
Expand All @@ -384,7 +384,7 @@ imports:
You are an AI model catalog analyst for `${{ github.repository }}`.

Your task is to analyze the current model inventories from all configured AI providers and
determine whether the built-in model alias mapping in `pkg/workflow/model_aliases.go` needs
determine whether the built-in model alias mapping in `pkg/workflow/data/model_aliases.json` needs
updating.

## Inputs
Expand Down Expand Up @@ -418,7 +418,7 @@ empty `models` array. Skip providers with errors or empty model lists.

## Built-in Alias Reference

Read `pkg/workflow/model_aliases.go` to understand the current alias definitions. The current
Read `pkg/workflow/data/model_aliases.json` to understand the current alias definitions. The current
built-in aliases are:

| Alias | Resolves to |
Expand Down Expand Up @@ -507,7 +507,7 @@ Produce a consolidated multiplier gap table listing:

### Step 4: Identify New or Updated Model Families

Compare the live model list against the current aliases in `pkg/workflow/model_aliases.go`.
Compare the live model list against the current aliases in `pkg/workflow/data/model_aliases.json`.
Look for:

1. **New model generations** — e.g. a new `claude-sonnet-5` or `gpt-6` that is not covered by
Expand All @@ -523,14 +523,16 @@ Look for:

### Step 5: Propose Alias Mapping Updates

For each finding from Step 4, produce a concrete YAML snippet showing the proposed new or updated
alias entry in the `models:` frontmatter format. Use the alias pattern syntax:
For each finding from Step 4, produce a concrete JSON snippet showing the proposed new or updated
alias entry in the `aliases` object in `pkg/workflow/data/model_aliases.json`. Use the alias pattern syntax:

```yaml
models:
new-alias:
- "copilot/vendor-model-id*"
- "vendor/vendor-model-id*"
```json
{
"new-alias": [
"copilot/vendor-model-id*",
"vendor/vendor-model-id*"
]
}
```

Focus on aliases that provide genuine value to workflow authors. Prioritize:
Expand Down Expand Up @@ -593,7 +595,7 @@ List model IDs that appear in `model_multipliers.json` but are absent from all l
For each change, explain:
1. **What**: The alias name and new/updated patterns
2. **Why**: Which live model(s) prompted this change
3. **Syntax**: YAML snippet ready to copy into `pkg/workflow/model_aliases.go`
3. **Syntax**: JSON snippet showing the new or updated entry for the `aliases` object in `pkg/workflow/data/model_aliases.json`

<details>
<summary><b>Full Model Lists by Provider</b></summary>
Expand Down
1 change: 1 addition & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ export default defineConfig({
{ label: 'Cost Management', link: '/reference/cost-management/' },
{ label: 'Cost Management (Rate Limiting)', link: '/reference/rate-limiting-controls/' },
{ label: 'Cost Management (Effective Tokens)', link: '/reference/effective-tokens-specification/' },
{ label: 'Cost Management (Model Tables)', link: '/reference/model-tables/' },
{ label: 'Environment Variables', link: '/reference/environment-variables/' },
{ label: 'FAQ', link: '/reference/faq/' },
{ label: 'Footers', link: '/reference/footers/' },
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"prebuild": "npm run generate-agent-factory && npm run build:slides",
"prebuild": "npm run generate-agent-factory && npm run generate-model-tables && npm run build:slides",
"build": "astro build",
"build:slides": "mkdir -p public/js && cp node_modules/mermaid/dist/mermaid.min.js public/js/ && npx @marp-team/marp-cli slides/index.md --html --allow-local-files --theme slides/gh-aw-theme.css -o public/slides/index.html && mkdir -p public/slides && cp slides/*.pdf public/slides/",
"preview": "astro preview",
"astro": "astro",
"validate-links": "astro build",
"generate-agent-factory": "cd .. && node scripts/generate-agent-factory.js",
"generate-model-tables": "cd .. && node scripts/generate-model-tables.js",
"test": "playwright test",
Comment on lines +8 to 16
"test:ui": "playwright test --ui",
"test:debug": "playwright test --debug"
Expand Down
Loading