infra: proper librechat integration & improved configuration handling (#10)
Reviewed-on: #10 Co-authored-by: Francwa <francois.hodiaumont@gmail.com> Co-committed-by: Francwa <francois.hodiaumont@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/find_media_imdb_id.json"
|
||||
url: "http://alfred:8000/manifests/find_media_imdb_id.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -32,7 +32,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/find_torrent.json"
|
||||
url: "http://alfred:8000/manifests/find_torrent.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -42,7 +42,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/add_torrent_by_index.json"
|
||||
url: "http://alfred:8000/manifests/add_torrent_by_index.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -52,7 +52,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/set_language.json"
|
||||
url: "http://alfred:8000/manifests/set_language.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -60,7 +60,7 @@ endpoints:
|
||||
# Backend Local Agent
|
||||
- name: "Local Agent"
|
||||
apiKey: "dummy_key"
|
||||
baseURL: "http://agent-brain:8000/v1"
|
||||
baseURL: "http://alfred:8000/v1"
|
||||
models:
|
||||
default: ["local-deepseek-agent"]
|
||||
fetch: false
|
||||
@@ -75,7 +75,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/find_media_imdb_id.json"
|
||||
url: "http://alfred:8000/manifests/find_media_imdb_id.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -85,7 +85,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/find_torrent.json"
|
||||
url: "http://alfred:8000/manifests/find_torrent.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -95,7 +95,7 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/add_torrent_by_index.json"
|
||||
url: "http://alfred:8000/manifests/add_torrent_by_index.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -105,6 +105,6 @@ endpoints:
|
||||
manifest:
|
||||
schema:
|
||||
type: openapi
|
||||
url: "http://agent-brain:8000/manifests/set_language.json"
|
||||
url: "http://alfred:8000/manifests/set_language.json"
|
||||
auth:
|
||||
type: none
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "add_torrent_by_index",
|
||||
"description": "Ajoute un torrent à la file d'attente de qBittorrent en utilisant l'index (1-basé) d'un résultat de recherche précédent (par exemple, 'download the 3rd one').",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"index": {
|
||||
"type": "integer",
|
||||
"description": "L'index (1-basé) du torrent dans les derniers résultats de recherche."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"index"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "find_media_imdb_id",
|
||||
"description": "Trouve l'ID IMDb et les informations d'un film ou d'une série télévisée à partir de son titre en utilisant l'API TMDB. À utiliser comme première étape avant de chercher des torrents.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"media_title": {
|
||||
"type": "string",
|
||||
"description": "Le titre exact du média à rechercher (par exemple, 'Inception', 'Breaking Bad')."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"media_title"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "find_torrent",
|
||||
"description": "Recherche des fichiers torrent pour un titre de média donné. Les résultats sont stockés dans la mémoire de l'agent pour une référence ultérieure par index (e.g., 'download the 3rd one').",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"media_title": {
|
||||
"type": "string",
|
||||
"description": "Le titre du média pour lequel rechercher des torrents (par exemple, 'Inception 2010')."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"media_title"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "set_language",
|
||||
"description": "Définit la langue de la conversation pour l'agent.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"language": {
|
||||
"type": "string",
|
||||
"description": "Le code de la langue (par exemple, 'en' pour Anglais, 'fr' pour Français, 'es' pour Espagnol)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"language"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user