Skip to content

fix: restore CI build (OpenAICompatProvider default import) - #54

Merged
Doorman11991 merged 1 commit into
Doorman11991:masterfrom
nonlooped:fix/ci-openai-compat-default-import
May 27, 2026
Merged

fix: restore CI build (OpenAICompatProvider default import)#54
Doorman11991 merged 1 commit into
Doorman11991:masterfrom
nonlooped:fix/ci-openai-compat-default-import

Conversation

@nonlooped

Copy link
Copy Markdown
Contributor

Summary

  • Fix TypeScript compile failure in src/compiled/providers/index.ts by importing OpenAICompatProvider as a default export (matches openai_compat.ts).
  • Regenerate the compiled index.js output so runtime and CI stay aligned.

CI has been failing since the plugin system merge (#28/#29) at the npm run build step with:

Module '"./openai_compat"' has no exported member 'OpenAICompatProvider'.

This blocked release builds for the v1.3.0 tag.

Test plan

  • npm run build passes locally
  • npm test passes locally (124/124)
  • CI Build and Release workflow passes on this PR

The plugin system merge introduced a named import for a default-exported
class, causing TypeScript compilation to fail in CI and blocking releases.
@nonlooped
nonlooped force-pushed the fix/ci-openai-compat-default-import branch from 0de9ca7 to 51d53b0 Compare May 27, 2026 16:38
@Doorman11991
Doorman11991 merged commit 86e3cfc into Doorman11991:master May 27, 2026
6 checks passed
Kothulhu94 pushed a commit to Kothulhu94/smallcode that referenced this pull request May 29, 2026
…t-default-import

fix: restore CI build (OpenAICompatProvider default import)
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.

2 participants