bifrost: исправлено расположение source_of_truth в конфиге
- ключ лежал внутри config_store, где Bifrost его молча игнорировал — шлюз работал в дефолтном режиме split вместо заявленного config.json - поднят на верхний уровень, теперь providers и governance из config.json авторитетно перезаписывают строки в config.db на старте
This commit is contained in:
@@ -26,6 +26,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://www.getbifrost.ai/schema",
|
"$schema": "https://www.getbifrost.ai/schema",
|
||||||
"encryption_key": {{ bifrost_encryption_key | to_json }},
|
"encryption_key": {{ bifrost_encryption_key | to_json }},
|
||||||
|
"source_of_truth": "config.json",
|
||||||
"client": {
|
"client": {
|
||||||
"enable_logging": true
|
"enable_logging": true
|
||||||
},
|
},
|
||||||
@@ -40,8 +41,7 @@
|
|||||||
"config_store": {
|
"config_store": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"type": "sqlite",
|
"type": "sqlite",
|
||||||
"config": { "path": "/app/store/config.db" },
|
"config": { "path": "/app/store/config.db" }
|
||||||
"source_of_truth": "config.json"
|
|
||||||
},
|
},
|
||||||
"logs_store": {
|
"logs_store": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user