|
4 | 4 |
|
5 | 5 | from astrbot.core.utils.astrbot_path import get_astrbot_data_path |
6 | 6 |
|
7 | | -VERSION = "4.7.3" |
| 7 | +VERSION = "4.7.4" |
8 | 8 | DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db") |
9 | 9 |
|
10 | 10 | # 默认配置 |
|
2422 | 2422 | "provider_settings.enable": True, |
2423 | 2423 | }, |
2424 | 2424 | }, |
2425 | | - "file_extract": { |
2426 | | - "description": "文档解析能力", |
2427 | | - "type": "object", |
2428 | | - "items": { |
2429 | | - "provider_settings.file_extract.enable": { |
2430 | | - "description": "启用文档解析能力", |
2431 | | - "type": "bool", |
2432 | | - }, |
2433 | | - "provider_settings.file_extract.provider": { |
2434 | | - "description": "文档解析提供商", |
2435 | | - "type": "string", |
2436 | | - "options": ["moonshotai"], |
2437 | | - "condition": { |
2438 | | - "provider_settings.file_extract.enable": True, |
2439 | | - }, |
2440 | | - }, |
2441 | | - "provider_settings.file_extract.moonshotai_api_key": { |
2442 | | - "description": "Moonshot AI API Key", |
2443 | | - "type": "string", |
2444 | | - "condition": { |
2445 | | - "provider_settings.file_extract.provider": "moonshotai", |
2446 | | - "provider_settings.file_extract.enable": True, |
2447 | | - }, |
2448 | | - }, |
2449 | | - }, |
2450 | | - "condition": { |
2451 | | - "provider_settings.agent_runner_type": "local", |
2452 | | - "provider_settings.enable": True, |
2453 | | - }, |
2454 | | - }, |
| 2425 | + # "file_extract": { |
| 2426 | + # "description": "文档解析能力 [beta]", |
| 2427 | + # "type": "object", |
| 2428 | + # "items": { |
| 2429 | + # "provider_settings.file_extract.enable": { |
| 2430 | + # "description": "启用文档解析能力", |
| 2431 | + # "type": "bool", |
| 2432 | + # }, |
| 2433 | + # "provider_settings.file_extract.provider": { |
| 2434 | + # "description": "文档解析提供商", |
| 2435 | + # "type": "string", |
| 2436 | + # "options": ["moonshotai"], |
| 2437 | + # "condition": { |
| 2438 | + # "provider_settings.file_extract.enable": True, |
| 2439 | + # }, |
| 2440 | + # }, |
| 2441 | + # "provider_settings.file_extract.moonshotai_api_key": { |
| 2442 | + # "description": "Moonshot AI API Key", |
| 2443 | + # "type": "string", |
| 2444 | + # "condition": { |
| 2445 | + # "provider_settings.file_extract.provider": "moonshotai", |
| 2446 | + # "provider_settings.file_extract.enable": True, |
| 2447 | + # }, |
| 2448 | + # }, |
| 2449 | + # }, |
| 2450 | + # "condition": { |
| 2451 | + # "provider_settings.agent_runner_type": "local", |
| 2452 | + # "provider_settings.enable": True, |
| 2453 | + # }, |
| 2454 | + # }, |
2455 | 2455 | "others": { |
2456 | 2456 | "description": "其他配置", |
2457 | 2457 | "type": "object", |
|
0 commit comments