Skip to content

fix(pi): harden provider config integration#200

Merged
khang859 merged 2 commits into
mainfrom
fix/pi-provider-integration
Apr 25, 2026
Merged

fix(pi): harden provider config integration#200
khang859 merged 2 commits into
mainfrom
fix/pi-provider-integration

Conversation

@khang859
Copy link
Copy Markdown
Owner

Summary

  • Use Pi's public model APIs and accept upstream API identifiers without rejecting valid config.
  • Align Amazon Bedrock with Pi's canonical amazon-bedrock provider id and add bearer-token support.
  • Make Fleet-launched Pi tabs explicitly unset conflicting AWS credential env vars per credential mode.

Test plan

  • npm test -- --run src/main/__tests__/pi-agent-manager.test.ts src/main/__tests__/pi-config-manager.test.ts src/main/__tests__/pi-env-injection-manager.test.ts src/main/__tests__/pi-auth-inspector.test.ts src/shared/__tests__/pi-config-types.test.ts src/renderer/src/components/settings/pi/__tests__/provider-ordering.test.ts
  • npm run typecheck

Use Pi's public model APIs, align Bedrock with the canonical provider id, and make Fleet-launched Pi tabs explicit about AWS credential environment handling.
@khang859 khang859 merged commit 3bfea66 into main Apr 25, 2026
1 check passed
@khang859 khang859 deleted the fix/pi-provider-integration branch April 25, 2026 13:23
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.

1 participant