[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/aidermacs 142a154b5f 295/466: Prepend aidermacs-- to fetch
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/aidermacs 142a154b5f 295/466: Prepend aidermacs-- to fetch-openai-compatible-models |
Date: |
Sat, 15 Mar 2025 19:16:27 -0400 (EDT) |
branch: elpa/aidermacs
commit 142a154b5f478b4ab7097058859bd4006f37c84f
Author: Mingde (Matthew) Zeng <matthewzmd@posteo.net>
Commit: Mingde (Matthew) Zeng <matthewzmd@posteo.net>
Prepend aidermacs-- to fetch-openai-compatible-models
Fixes #18
---
aidermacs-models.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aidermacs-models.el b/aidermacs-models.el
index 7330f1edd3..2879a4dc45 100644
--- a/aidermacs-models.el
+++ b/aidermacs-models.el
@@ -34,7 +34,7 @@ Also based on aidermacs LLM benchmark:
https://aidermacs.chat/docs/leaderboards/
(require 'json)
(require 'url)
-(defun fetch-openai-compatible-models (url)
+(defun aidermacs--fetch-openai-compatible-models (url)
"Fetch available models from an OpenAI compatible API endpoint at URL.
URL should be the base API endpoint, e.g. https://api.openai.com/v1.
Returns a list of model names with appropriate prefixes based on the API
provider."
@@ -111,7 +111,7 @@ Returns a list of model names with appropriate prefixes
based on the API provide
"https://api.anthropic.com/v1"
"https://generativelanguage.googleapis.com/v1beta"))
(condition-case err
- (let* ((fetched-models (fetch-openai-compatible-models url))
+ (let* ((fetched-models (aidermacs--fetch-openai-compatible-models
url))
(filtered-models (seq-filter (lambda (model)
(member model
supported-models))
fetched-models)))
- [nongnu] elpa/aidermacs 1729dd91b3 218/466: refactor: rename Helm function and cleanup whitespace, (continued)
- [nongnu] elpa/aidermacs 1729dd91b3 218/466: refactor: rename Helm function and cleanup whitespace, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs f9a27be131 226/466: aider-minor-mode should only apply to aider files, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 5f3c6005c0 221/466: Implement colored output in source code blocks, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs b3723cd28e 230/466: Update use-package call, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e3f4d515a0 237/466: Remove dependency on magit, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 7ebdb2925f 267/466: docs: Update README with new transient menu and file management features, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 80169ffd21 274/466: Update README, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs f54aa4088c 275/466: Update README, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 002a47e89e 285/466: Use aider command to get supported models, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs c3ec966f0a 286/466: Refactor to use aidermacs--send-command callback effectively, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 142a154b5f 295/466: Prepend aidermacs-- to fetch-openai-compatible-models,
ELPA Syncer <=
- [nongnu] elpa/aidermacs 791cb45315 292/466: Refactor aidermacs--get-context-command, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 34fecf9703 284/466: fix: use aidermacs-read-string instead of aidermacs-plain-read-string in aidermacs-debug, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs d5ccb2d10c 291/466: Disable auto-commits by default in aidermacs, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs d230cd5f95 297/466: Merge pull request #19 from CeleritasCelery/dumb-text, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs c3a9520da7 301/466: Use redirection for sending commands to aider, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 4fad406c4d 302/466: Rename to aidermacs--send-command-redirect-comint, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 93340e76f9 306/466: Add aidermacs-default-model and aidermacs-args options, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 4e14215119 310/466: Fix #16 handle read-only files in ls, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e06f47cea7 331/466: Merge pull request #29 from jfeser/main, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 090eebdbf5 334/466: Fix more lintings, ELPA Syncer, 2025/03/15