|
267 | 267 | }, |
268 | 268 | "llama_stack": { |
269 | 269 | "url": "http://localhost:8321", |
270 | | - "api_key": "xyzzy", |
| 270 | + "api_key": "*****", |
271 | 271 | "use_as_library_client": false |
272 | 272 | }, |
273 | 273 | "user_data_collection": { |
|
935 | 935 | }, |
936 | 936 | "skip_userid_check": { |
937 | 937 | "type": "boolean", |
938 | | - "title": "Skip User Id Check", |
| 938 | + "title": "Skip Userid Check", |
939 | 939 | "description": "Whether to skip the user ID check", |
940 | | - "examples": [true, false] |
| 940 | + "examples": [ |
| 941 | + true, |
| 942 | + false |
| 943 | + ] |
941 | 944 | } |
942 | 945 | }, |
943 | 946 | "type": "object", |
|
947 | 950 | "skip_userid_check" |
948 | 951 | ], |
949 | 952 | "title": "AuthorizedResponse", |
950 | | - "description": "Model representing a response to an authorization request.\n\nAttributes:\n user_id: The ID of the logged in user.\n username: The name of the logged in user.", |
| 953 | + "description": "Model representing a response to an authorization request.\n\nAttributes:\n user_id: The ID of the logged in user.\n username: The name of the logged in user.\n skip_userid_check: Whether to skip the user ID check.", |
951 | 954 | "examples": [ |
952 | 955 | { |
| 956 | + "skip_userid_check": false, |
953 | 957 | "user_id": "123e4567-e89b-12d3-a456-426614174000", |
954 | | - "username": "user1", |
955 | | - "skip_userid_check": false |
| 958 | + "username": "user1" |
956 | 959 | } |
957 | 960 | ] |
958 | 961 | }, |
|
1015 | 1018 | "$ref": "#/components/schemas/UserDataCollection" |
1016 | 1019 | }, |
1017 | 1020 | "database": { |
1018 | | - "$ref": "#/components/schemas/DatabaseConfiguration", |
1019 | | - "default": { |
1020 | | - "sqlite": { |
1021 | | - "db_path": "/tmp/lightspeed-stack.db" |
1022 | | - } |
1023 | | - } |
| 1021 | + "$ref": "#/components/schemas/DatabaseConfiguration" |
1024 | 1022 | }, |
1025 | 1023 | "mcp_servers": { |
1026 | 1024 | "items": { |
1027 | 1025 | "$ref": "#/components/schemas/ModelContextProtocolServer" |
1028 | 1026 | }, |
1029 | 1027 | "type": "array", |
1030 | | - "title": "Mcp Servers", |
1031 | | - "default": [] |
| 1028 | + "title": "Mcp Servers" |
1032 | 1029 | }, |
1033 | 1030 | "authentication": { |
1034 | | - "$ref": "#/components/schemas/AuthenticationConfiguration", |
1035 | | - "default": { |
1036 | | - "module": "noop", |
1037 | | - "skip_tls_verification": false |
1038 | | - } |
| 1031 | + "$ref": "#/components/schemas/AuthenticationConfiguration" |
1039 | 1032 | }, |
1040 | 1033 | "authorization": { |
1041 | 1034 | "anyOf": [ |
|
1058 | 1051 | ] |
1059 | 1052 | }, |
1060 | 1053 | "inference": { |
1061 | | - "$ref": "#/components/schemas/InferenceConfiguration", |
1062 | | - "default": {} |
| 1054 | + "$ref": "#/components/schemas/InferenceConfiguration" |
1063 | 1055 | } |
1064 | 1056 | }, |
1065 | 1057 | "additionalProperties": false, |
|
1655 | 1647 | "llama_stack_version" |
1656 | 1648 | ], |
1657 | 1649 | "title": "InfoResponse", |
1658 | | - "description": "Model representing a response to an info request.\n\nAttributes:\n name: Service name.\n service_version: Service version.\n llama_stack_version: Llama Stack version.\n\nExample:\n ```python\n info_response = InfoResponse(\n name=\"Lightspeed Stack\",\n service_version=\"1.0.0\",\n llama_stack_version=\"0.2.18\",\n )\n ```", |
| 1650 | + "description": "Model representing a response to an info request.\n\nAttributes:\n name: Service name.\n service_version: Service version.\n llama_stack_version: Llama Stack version.\n\nExample:\n ```python\n info_response = InfoResponse(\n name=\"Lightspeed Stack\",\n service_version=\"1.0.0\",\n llama_stack_version=\"0.2.19\",\n )\n ```", |
1659 | 1651 | "examples": [ |
1660 | 1652 | { |
1661 | 1653 | "llama_stack_version": "1.0.0", |
|
1684 | 1676 | "title": "Url" |
1685 | 1677 | }, |
1686 | 1678 | "jwt_configuration": { |
1687 | | - "$ref": "#/components/schemas/JwtConfiguration", |
1688 | | - "default": { |
1689 | | - "user_id_claim": "user_id", |
1690 | | - "username_claim": "username", |
1691 | | - "role_rules": [] |
1692 | | - } |
| 1679 | + "$ref": "#/components/schemas/JwtConfiguration" |
1693 | 1680 | } |
1694 | 1681 | }, |
1695 | 1682 | "additionalProperties": false, |
|
1796 | 1783 | "api_key": { |
1797 | 1784 | "anyOf": [ |
1798 | 1785 | { |
1799 | | - "type": "string" |
| 1786 | + "type": "string", |
| 1787 | + "format": "password", |
| 1788 | + "writeOnly": true |
1800 | 1789 | }, |
1801 | 1790 | { |
1802 | 1791 | "type": "null" |
|
1919 | 1908 | }, |
1920 | 1909 | "password": { |
1921 | 1910 | "type": "string", |
1922 | | - "title": "Password" |
| 1911 | + "format": "password", |
| 1912 | + "title": "Password", |
| 1913 | + "writeOnly": true |
1923 | 1914 | }, |
1924 | 1915 | "namespace": { |
1925 | 1916 | "anyOf": [ |
|
2303 | 2294 | "default": true |
2304 | 2295 | }, |
2305 | 2296 | "tls_config": { |
2306 | | - "$ref": "#/components/schemas/TLSConfiguration", |
2307 | | - "default": {} |
| 2297 | + "$ref": "#/components/schemas/TLSConfiguration" |
2308 | 2298 | }, |
2309 | 2299 | "cors": { |
2310 | | - "$ref": "#/components/schemas/CORSConfiguration", |
2311 | | - "default": { |
2312 | | - "allow_origins": [ |
2313 | | - "*" |
2314 | | - ], |
2315 | | - "allow_credentials": false, |
2316 | | - "allow_methods": [ |
2317 | | - "*" |
2318 | | - ], |
2319 | | - "allow_headers": [ |
2320 | | - "*" |
2321 | | - ] |
2322 | | - } |
| 2300 | + "$ref": "#/components/schemas/CORSConfiguration" |
2323 | 2301 | } |
2324 | 2302 | }, |
2325 | 2303 | "additionalProperties": false, |
|
0 commit comments