[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/llm 7edd36b2dc 28/34: Fix obsolete or incorrect functio
From: |
Andrew Hyatt |
Subject: |
[elpa] externals/llm 7edd36b2dc 28/34: Fix obsolete or incorrect function calls in llm-fake |
Date: |
Sat, 16 Sep 2023 01:32:49 -0400 (EDT) |
branch: externals/llm
commit 7edd36b2dc1e8986adc191b0a30b31afc9dfa6bb
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>
Fix obsolete or incorrect function calls in llm-fake
---
llm-fake.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/llm-fake.el b/llm-fake.el
index 95aea76400..76ac01d6bd 100644
--- a/llm-fake.el
+++ b/llm-fake.el
@@ -46,9 +46,9 @@ either a vector response for the chat, or a signal symbol and
message cons. If nil, the response will be a simple vector."
output-to-buffer chat-action-func embedding-action-func)
-(cl-defmethod llm-chat-response-async ((provider llm-fake) prompt
response-callback error-callback)
+(cl-defmethod llm-chat-async ((provider llm-fake) prompt response-callback
error-callback)
(condition-case err
- (funcall response-callback (llm-chat-response provider prompt))
+ (funcall response-callback (llm-chat provider prompt))
(t (funcall error-callback (car err) (cdr err))))
nil)
@@ -77,7 +77,7 @@ message cons. If nil, the response will be a simple vector."
(pcase (type-of result)
('vector result)
('cons (signal (car result) (cdr result)))
- (_ (error "Incorrect type found in `chat-embedding-func': %s"
(type-of-result)))))
+ (_ (error "Incorrect type found in `chat-embedding-func': %s"
(type-of result)))))
[0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9]))
(cl-defmethod llm-embedding-async ((provider llm-fake) string vector-callback
error-callback)
- [elpa] externals/llm 650bba65d5 25/34: Improve the docstring for llm--warn-on-nonfree, (continued)
- [elpa] externals/llm 650bba65d5 25/34: Improve the docstring for llm--warn-on-nonfree, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm b2f1605514 33/34: Delete some trailing whitespace, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 39ae6fc794 34/34: Assign copyright to FSF, in preparation of inclusion to GNU ELPA, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 9a3fc01cac 17/34: Switch from generic to per-provider sync solution, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm eba797b295 04/34: Implement error handling for gcloud auth issues, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 16ee85fd11 05/34: Add async options, and made the sync options just use those and wait, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 3919b77383 06/34: Implement confusion and typos in README.org, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm b52958757a 18/34: Fix docstring wider than 80 characters in llm-vertex, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm abbff2aa9d 23/34: Change method name to llm-chat (without "-response"), update README, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm e94bc937c7 27/34: Fix issue with llm-chat before method having too many arguments, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 7edd36b2dc 28/34: Fix obsolete or incorrect function calls in llm-fake,
Andrew Hyatt <=
- [elpa] externals/llm d4bbe9d84c 29/34: Fix incorrect requires in openai and vertex implementations, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 723c0b3786 31/34: Minor README whitespace and formatting fixes, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 8f30feb5c1 32/34: README improvements, including noting the nonfree llm warning, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 444850a981 24/34: Fix missing word in non-free warning message, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 0ed280c208 15/34: Add llm-fake, useful for developer testing using the llm methods, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm c55ccf157a 03/34: Clean up package specifications in elisp files, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 414d25a625 09/34: Removed various unused things, and format fixes, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 4e9be8183d 07/34: Merge branch 'async', Andrew Hyatt, 2023/09/16
- [elpa] externals/llm dd20d6353c 21/34: Fix bug on llm-fake's error response to chat-response, Andrew Hyatt, 2023/09/16
- [elpa] externals/llm 40151757de 26/34: Switch to a method of nonfree warnings easier for provider modules, Andrew Hyatt, 2023/09/16