Skip to content

Commit e3a0a6a

Browse files
committed
LCORE-217: proper description for config endpoint
1 parent d63b7bb commit e3a0a6a

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

src/app/endpoints/config.py

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,38 @@
1515
get_config_responses: dict[int | str, dict[str, Any]] = {
1616
200: {
1717
"name": "foo bar baz",
18-
"llama_stack": {"url": "http://localhost:8321", "api_key": "xyzzy"},
18+
"service": {
19+
"host": "localhost",
20+
"port": 8080,
21+
"auth_enabled": False,
22+
"workers": 1,
23+
"color_log": True,
24+
"access_log": True,
25+
"tls_config": {
26+
"tls_certificate_path": "config/certificate.crt",
27+
"tls_key_path": "config/private.key",
28+
"tls_key_password": None,
29+
},
30+
},
31+
"llama_stack": {
32+
"url": "http://localhost:8321",
33+
"api_key": "xyzzy",
34+
"use_as_library_client": False,
35+
"library_client_config_path": None,
36+
},
37+
"user_data_collection": {
38+
"feedback_disabled": False,
39+
"feedback_storage": "/tmp/data/feedback",
40+
"transcripts_disabled": True,
41+
"transcripts_storage": None,
42+
},
43+
"mcp_servers": [
44+
{"name": "server1", "provider_id": "provider1", "url": "http://url.com:1"},
45+
{"name": "server2", "provider_id": "provider2", "url": "http://url.com:2"},
46+
{"name": "server3", "provider_id": "provider3", "url": "http://url.com:3"},
47+
],
1948
},
49+
503: {"description": "Configuration can not be loaded"},
2050
}
2151

2252

0 commit comments

Comments
 (0)