fix(test): gateway-llm test references wrong function name
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
EXECUTE-LLM-REQUEST → GATEWAY-LLM-REQUEST (the actual defined function)
This commit is contained in:
@@ -31,8 +31,8 @@
|
|||||||
(unwind-protect
|
(unwind-protect
|
||||||
(progn
|
(progn
|
||||||
(setf (uiop:getenv "OLLAMA_HOST") "localhost:1")
|
(setf (uiop:getenv "OLLAMA_HOST") "localhost:1")
|
||||||
(let ((fn (or (find-symbol "EXECUTE-LLM-REQUEST" :passepartout.gateway-llm)
|
(let ((fn (or (find-symbol "GATEWAY-LLM-REQUEST" :passepartout.gateway-llm)
|
||||||
(find-symbol "EXECUTE-LLM-REQUEST" :passepartout))))
|
(find-symbol "GATEWAY-LLM-REQUEST" :passepartout))))
|
||||||
(if fn
|
(if fn
|
||||||
(let ((result (funcall fn :prompt "hello" :provider :ollama)))
|
(let ((result (funcall fn :prompt "hello" :provider :ollama)))
|
||||||
(fiveam:is (eq (getf result :status) :error))
|
(fiveam:is (eq (getf result :status) :error))
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ The LLM Gateway dispatches inference requests to the registered probabilistic ba
|
|||||||
(unwind-protect
|
(unwind-protect
|
||||||
(progn
|
(progn
|
||||||
(setf (uiop:getenv "OLLAMA_HOST") "localhost:1")
|
(setf (uiop:getenv "OLLAMA_HOST") "localhost:1")
|
||||||
(let ((fn (or (find-symbol "EXECUTE-LLM-REQUEST" :passepartout.gateway-llm)
|
(let ((fn (or (find-symbol "GATEWAY-LLM-REQUEST" :passepartout.gateway-llm)
|
||||||
(find-symbol "EXECUTE-LLM-REQUEST" :passepartout))))
|
(find-symbol "GATEWAY-LLM-REQUEST" :passepartout))))
|
||||||
(if fn
|
(if fn
|
||||||
(let ((result (funcall fn :prompt "hello" :provider :ollama)))
|
(let ((result (funcall fn :prompt "hello" :provider :ollama)))
|
||||||
(fiveam:is (eq (getf result :status) :error))
|
(fiveam:is (eq (getf result :status) :error))
|
||||||
|
|||||||
Reference in New Issue
Block a user