Best way to pass API key to plugin? #2755
Unanswered
Swimburger
asked this question in
Q&A
Replies: 1 comment
-
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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