|
2256 | 2256 | "title": "CommonSetting", |
2257 | 2257 | "type": "object", |
2258 | 2258 | "properties": { |
| 2259 | + "sync_conversations_on_startup": { |
| 2260 | + "title": "Sync Conversations On Startup", |
| 2261 | + "type": "boolean", |
| 2262 | + "default": true |
| 2263 | + }, |
| 2264 | + "sync_conversations_regularly": { |
| 2265 | + "title": "Sync Conversations Regularly", |
| 2266 | + "type": "boolean", |
| 2267 | + "default": false |
| 2268 | + }, |
2259 | 2269 | "print_sql": { |
2260 | 2270 | "title": "Print Sql", |
2261 | 2271 | "type": "boolean", |
|
2275 | 2285 | "title": "Initial Admin User Password", |
2276 | 2286 | "type": "string", |
2277 | 2287 | "default": "password" |
2278 | | - }, |
2279 | | - "sync_conversations_on_startup": { |
2280 | | - "title": "Sync Conversations On Startup", |
2281 | | - "type": "boolean", |
2282 | | - "default": true |
2283 | | - }, |
2284 | | - "sync_conversations_regularly": { |
2285 | | - "title": "Sync Conversations Regularly", |
2286 | | - "type": "boolean", |
2287 | | - "default": true |
2288 | 2288 | } |
2289 | 2289 | } |
2290 | 2290 | }, |
|
2329 | 2329 | "title": "OpenaiWebChatGPTSetting", |
2330 | 2330 | "type": "object", |
2331 | 2331 | "properties": { |
| 2332 | + "enabled": { |
| 2333 | + "title": "Enabled", |
| 2334 | + "type": "boolean", |
| 2335 | + "default": true |
| 2336 | + }, |
2332 | 2337 | "is_plus_account": { |
2333 | 2338 | "title": "Is Plus Account", |
2334 | 2339 | "type": "boolean", |
|
2395 | 2400 | } |
2396 | 2401 | ], |
2397 | 2402 | "default": { |
| 2403 | + "enabled": true, |
2398 | 2404 | "is_plus_account": true, |
2399 | 2405 | "common_timeout": 10, |
2400 | 2406 | "ask_timeout": 600, |
|
2421 | 2427 | "title": "OpenaiApiSetting", |
2422 | 2428 | "type": "object", |
2423 | 2429 | "properties": { |
| 2430 | + "enabled": { |
| 2431 | + "title": "Enabled", |
| 2432 | + "type": "boolean", |
| 2433 | + "default": true |
| 2434 | + }, |
2424 | 2435 | "openai_base_url": { |
2425 | 2436 | "title": "Openai Base Url", |
2426 | 2437 | "type": "string", |
|
2473 | 2484 | } |
2474 | 2485 | ], |
2475 | 2486 | "default": { |
| 2487 | + "enabled": true, |
2476 | 2488 | "openai_base_url": "https://api.openai.com/v1/", |
2477 | 2489 | "connect_timeout": 10, |
2478 | 2490 | "read_timeout": 20, |
|
2493 | 2505 | "title": "CommonSetting", |
2494 | 2506 | "type": "object", |
2495 | 2507 | "properties": { |
| 2508 | + "sync_conversations_on_startup": { |
| 2509 | + "title": "Sync Conversations On Startup", |
| 2510 | + "type": "boolean", |
| 2511 | + "default": true |
| 2512 | + }, |
| 2513 | + "sync_conversations_regularly": { |
| 2514 | + "title": "Sync Conversations Regularly", |
| 2515 | + "type": "boolean", |
| 2516 | + "default": false |
| 2517 | + }, |
2496 | 2518 | "print_sql": { |
2497 | 2519 | "title": "Print Sql", |
2498 | 2520 | "type": "boolean", |
|
2512 | 2534 | "title": "Initial Admin User Password", |
2513 | 2535 | "type": "string", |
2514 | 2536 | "default": "password" |
2515 | | - }, |
2516 | | - "sync_conversations_on_startup": { |
2517 | | - "title": "Sync Conversations On Startup", |
2518 | | - "type": "boolean", |
2519 | | - "default": true |
2520 | | - }, |
2521 | | - "sync_conversations_regularly": { |
2522 | | - "title": "Sync Conversations Regularly", |
2523 | | - "type": "boolean", |
2524 | | - "default": true |
2525 | 2537 | } |
2526 | 2538 | } |
2527 | 2539 | } |
2528 | 2540 | ], |
2529 | 2541 | "default": { |
| 2542 | + "sync_conversations_on_startup": true, |
| 2543 | + "sync_conversations_regularly": false, |
2530 | 2544 | "print_sql": false, |
2531 | 2545 | "create_initial_admin_user": true, |
2532 | 2546 | "initial_admin_user_username": "admin", |
2533 | | - "initial_admin_user_password": "password", |
2534 | | - "sync_conversations_on_startup": true, |
2535 | | - "sync_conversations_regularly": true |
| 2547 | + "initial_admin_user_password": "password" |
2536 | 2548 | } |
2537 | 2549 | }, |
2538 | 2550 | "http": { |
|
3805 | 3817 | "title": "OpenaiApiSetting", |
3806 | 3818 | "type": "object", |
3807 | 3819 | "properties": { |
| 3820 | + "enabled": { |
| 3821 | + "title": "Enabled", |
| 3822 | + "type": "boolean", |
| 3823 | + "default": true |
| 3824 | + }, |
3808 | 3825 | "openai_base_url": { |
3809 | 3826 | "title": "Openai Base Url", |
3810 | 3827 | "type": "string", |
|
4224 | 4241 | "title": "OpenaiWebChatGPTSetting", |
4225 | 4242 | "type": "object", |
4226 | 4243 | "properties": { |
| 4244 | + "enabled": { |
| 4245 | + "title": "Enabled", |
| 4246 | + "type": "boolean", |
| 4247 | + "default": true |
| 4248 | + }, |
4227 | 4249 | "is_plus_account": { |
4228 | 4250 | "title": "Is Plus Account", |
4229 | 4251 | "type": "boolean", |
|
0 commit comments