Dynamic provider configs #89
Closed
binaryfire
started this conversation in
Ideas
Replies: 2 comments
-
|
I think this is something we could accomplish! I think the use case makes sense. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Shipped in v0.21.0 Prism::text()
->usingProviderConfig(['api_key' => '1234']);
Prism::structured()
->usingProviderConfig(['api_key' => '1234']); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Great package TJ!
Would it be possible to add a way to use dynamic provider configs without having to override config values? Config overrides are really problematic with Octane.
For example, this is how the Socialite Providers package does it: https://socialiteproviders.com/usage/#overriding-a-config
This would make it easier to use the package in a multi-tenant context, where each tenant brings their own keys.
Beta Was this translation helpful? Give feedback.
All reactions