File size: 1,504 Bytes
56add8f
 
 
1ca062e
56add8f
bca6b68
56add8f
 
 
 
 
 
 
 
 
f207a56
56add8f
5e7a36f
56add8f
 
 
 
 
 
 
 
842a919
56add8f
 
 
1daa44a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
    "api": {
        "models": {
            "Xylaria 1.6 Senoa": {
                "type": "Text Generation",
                "api_url": "https://api-inference.huggingface.co/models/Qwen/QwQ-32B-Preview/v1/chat/completions",
                "headers": {
                    "Content-Type": "application/json",
                    "x-use-cache": "false",
                    "config": {
                        "comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
                        "Authorization": "Bearer os.environ.get('auth')"
                }
                }
            },
            "Xylaria 1.6": {
                "type": "Text Generation",
                "api_url": "https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407/v1/chat/completions",
                "headers": {
                    "Content-Type": "application/json",
                    "x-use-cache": "false",
                    "config": {
                        "comment": "This section runs Python code. It retrieves the API key from your environment using 'os'. You can use this for Authorization headers or replace it with another type of headers, like 'ApiKey'.",
                        "Authorization": "Bearer os.environ.get('auth')"
                }
                }
            }
        }
    },
    "handle_stream": true
}