Update Makefile.languages paths and add commonlisp/scheme targets, fix Common Lisp timeout slot name conflict
This commit is contained in:
parent
dad7943c54
commit
9aa834852c
2 changed files with 80 additions and 31 deletions
|
|
@ -18,7 +18,7 @@
|
|||
:documentation "List of TTS endpoint URLs")
|
||||
(api-key :initform nil :initarg :api-key :accessor api-key
|
||||
:documentation "Optional API key for authentication")
|
||||
(timeout :initform 30 :initarg :timeout :accessor timeout
|
||||
(request-timeout :initform 30 :initarg :request-timeout :accessor request-timeout
|
||||
:documentation "Request timeout in seconds")))
|
||||
|
||||
(defun make-model-info (id endpoint max-tokens)
|
||||
|
|
@ -73,11 +73,11 @@
|
|||
|
||||
client)
|
||||
|
||||
(defun make-uncloseai (&key model-endpoints tts-endpoints api-key (timeout 30))
|
||||
(defun make-uncloseai (&key model-endpoints tts-endpoints api-key (request-timeout 30))
|
||||
"Create a new uncloseai client with auto-discovery from environment variables"
|
||||
(let ((client (make-instance 'uncloseai
|
||||
:api-key api-key
|
||||
:timeout timeout)))
|
||||
:request-timeout request-timeout)))
|
||||
(initialize-client client model-endpoints tts-endpoints)))
|
||||
|
||||
;;; Helper functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue