PSF: Autonomous mass-processing of 25 pending skills (Blueprint & TDD).
This commit is contained in:
@@ -28,10 +28,7 @@ Provide a simple, environment-driven authentication mechanism for LLM providers.
|
||||
Interfaces for credential retrieval. Source of truth is the system environment.
|
||||
|
||||
** 2. Semantic Interfaces
|
||||
#+begin_src lisp
|
||||
(defun auth-api-key-get-credentials ()
|
||||
"Returns a plist containing the :api-key for the default provider.")
|
||||
#+end_src
|
||||
"Returns a plist containing the :api-key for the default provider."
|
||||
|
||||
* Phase D: Build (Implementation)
|
||||
|
||||
@@ -41,12 +38,8 @@ Interfaces for credential retrieval. Source of truth is the system environment.
|
||||
(when key
|
||||
(list :api-key key))))
|
||||
|
||||
(defun register-auth-provider (provider-name credential-fn)
|
||||
"Register a simple API key provider in the kernel."
|
||||
(org-agent:register-auth-provider provider-name credential-fn))
|
||||
|
||||
;; Register as the default auth provider for Gemini during transition
|
||||
(register-auth-provider :gemini #'auth-api-key-get-credentials)
|
||||
(org-agent:register-auth-provider :gemini #'auth-api-key-get-credentials)
|
||||
#+end_src
|
||||
|
||||
* Registration
|
||||
|
||||
Reference in New Issue
Block a user