Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ GEMINI_API_KEY='<add_your_gemini_api_key_here>'
# If you want to use OpenRouter, add your key here
OPENROUTERAPIKEY='<add_your_openrouter_api_key_here>'

# If you want to use LibertAI, add your key here
LIBERTAI_API_KEY='<add_your_libertai_api_key_here>'

# If you want to use IO.net, add your key here
IONETAPIKEY='<add_your_ionet_api_key_here>'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"provider": "libertai",
"plugin": "openai-compatible",
"model": "ltai-core",
"config": {},
"plugin_config": {
"api_key_env_var": "LIBERTAI_API_KEY",
"api_url": "https://api.libertai.io"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"provider": "libertai",
"plugin": "openai-compatible",
"model": "ltai-fast",
"config": {},
"plugin_config": {
"api_key_env_var": "LIBERTAI_API_KEY",
"api_url": "https://api.libertai.io"
}
}
23 changes: 22 additions & 1 deletion backend/node/create_nodes/providers_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"anthropic",
"xai",
"google",
"openrouter"
"openrouter",
"libertai"
]
},
"model": {
Expand Down Expand Up @@ -144,6 +145,26 @@
}
}
},
{
"if": {
"properties": {
"provider": { "const": "libertai" }
}
},
"then": {
"properties": {
"plugin": {
"const": "openai-compatible"
},
"model": {
"enum": [
"ltai-fast",
"ltai-core"
]
}
}
}
},
{
"if": {
"properties": {
Expand Down
23 changes: 22 additions & 1 deletion frontend/src/assets/schemas/providers_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"openai",
"anthropic",
"xai",
"google"
"google",
"libertai"
]
},
"model": {
Expand Down Expand Up @@ -102,6 +103,26 @@
}
}
},
{
"if": {
"properties": {
"provider": { "const": "libertai" }
}
},
"then": {
"properties": {
"plugin": {
"const": "openai-compatible"
},
"model": {
"enum": [
"ltai-fast",
"ltai-core"
]
}
}
}
},
{
"if": {
"properties": {
Expand Down