diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d4ee0b5..0de225d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,6 +29,7 @@ jobs: - run: npm version ${TAG_NAME} --git-tag-version=false env: TAG_NAME: ${{ github.event.release.tag_name || github.event.inputs.tag_name }} + - run: npm run build - run: npm whoami; npm --ignore-scripts publish --provenance env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/src/model-id.ts b/src/model-id.ts index 69a5c6c..5c96d7f 100644 --- a/src/model-id.ts +++ b/src/model-id.ts @@ -12,6 +12,10 @@ export type GitHubModelsChatModelId = | 'openai/gpt-4.1-nano' | 'openai/gpt-4o' | 'openai/gpt-4o-mini' + | 'openai/gpt-5' + | 'openai/gpt-5-chat' + | 'openai/gpt-5-mini' + | 'openai/gpt-5-nano' | 'openai/o1' | 'openai/o1-mini' | 'openai/o1-preview' @@ -43,14 +47,6 @@ export type GitHubModelsChatModelId = | 'xai/grok-3' | 'xai/grok-3-mini' | 'microsoft/mai-ds-r1' - | 'microsoft/phi-3.5-mini-instruct' - | 'microsoft/phi-3.5-moe-instruct' - | 'microsoft/phi-3-medium-128k-instruct' - | 'microsoft/phi-3-medium-4k-instruct' - | 'microsoft/phi-3-mini-128k-instruct' - | 'microsoft/phi-3-mini-4k-instruct' - | 'microsoft/phi-3-small-128k-instruct' - | 'microsoft/phi-3-small-8k-instruct' | 'microsoft/phi-4' | 'microsoft/phi-4-mini-instruct' | 'microsoft/phi-4-mini-reasoning'