Best way to pass API key to plugin? #2755
Replies: 2 comments
-
Hi @teresaqhoang, would you please help to point the sample code in chat-copilot around auth handler callback? thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am cleaning up old unanswered discussions |
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.
-
I'm developing a plugin that relies on a 3rd party service that needs an API key.
Currently, I pass the API key as a constructor parameter and store it in a field.
I also create and dispose an HTTP client as needed but would rather rely on the DI systems that .NET usually has.
I'm just not sure what the preferred approach is when developing SK plugins.
Beta Was this translation helpful? Give feedback.
All reactions