mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 19:39:25 +08:00
models.json added for RemoteModel Fetch feature
This commit is contained in:
@@ -12,7 +12,7 @@ class LLMManager {
|
|||||||
static get models => avaiableModels;
|
static get models => avaiableModels;
|
||||||
|
|
||||||
static const String modelRemoteURL =
|
static const String modelRemoteURL =
|
||||||
'https://raw.githubusercontent.com/synapsecode/apidash/llm_model_rearch/packages/genai/models.json';
|
'https://raw.githubusercontent.com/synapsecode/apidash/package/genai/packages/genai/models.json';
|
||||||
static const String baseOllamaURL = 'http://localhost:11434';
|
static const String baseOllamaURL = 'http://localhost:11434';
|
||||||
|
|
||||||
static addLLM(String providerID, String modelID, String modelName) async {
|
static addLLM(String providerID, String modelID, String modelName) async {
|
||||||
|
|||||||
98
packages/genai/models.json
Normal file
98
packages/genai/models.json
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
{
|
||||||
|
"openai": [
|
||||||
|
[
|
||||||
|
"gpt-4o",
|
||||||
|
"GPT-4o"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-4",
|
||||||
|
"GPT-4"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-4o-mini",
|
||||||
|
"GPT-4o Mini"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-4-turbo",
|
||||||
|
"GPT-4 Turbo"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-4.1",
|
||||||
|
"GPT-4.1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-4.1-mini",
|
||||||
|
"GPT-4.1 Mini"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-4.1-nano",
|
||||||
|
"GPT-4.1 Nano"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"o1",
|
||||||
|
"o1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"o3",
|
||||||
|
"o3"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"o3-mini",
|
||||||
|
"o3 Mini"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gpt-3.5-turbo",
|
||||||
|
"GPT-3.5 Turbo"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"anthropic": [
|
||||||
|
[
|
||||||
|
"claude-3-opus-latest",
|
||||||
|
"Claude 3 Opus"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"claude-3-sonnet-latest",
|
||||||
|
"Claude 3 Sonnet"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"claude-3-haiku-latest",
|
||||||
|
"Claude 3 Haiku"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"claude-3-5-haiku-latest",
|
||||||
|
"Claude 3.5 Haiku"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"claude-3-5-sonnet-latest",
|
||||||
|
"Claude 3.5 Sonnet"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"gemini": [
|
||||||
|
[
|
||||||
|
"gemini-1.5-pro",
|
||||||
|
"Gemini 1.5 Pro"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gemini-1.5-flash-8b",
|
||||||
|
"Gemini 1.5 Flash 8B"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gemini-2.0-flash",
|
||||||
|
"Gemini 2.0 Flash"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gemini-2.0-flash-lite",
|
||||||
|
"Gemini 2.0 Flash Lite"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"gemini-2.5-flash-preview_0520",
|
||||||
|
"Gemini 2.5 Flash Preview 0520"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"azureopenai": [
|
||||||
|
[
|
||||||
|
"custom",
|
||||||
|
"Custom"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user