Enhance AssistantConfig and pipeline for FastGPT integration
- Add new fields in AssistantConfig for FastGPT connection details, including `fastgpt_api_url`, `fastgpt_api_key`, and `fastgpt_app_id`. - Update the pipeline to utilize the new FastGPT configuration, ensuring proper integration with external services. - Introduce type handling for different assistant types, including support for realtime modes and external brain management. - Refactor frontend components to include hints for FastGPT configuration inputs, improving user guidance during setup.
This commit is contained in:
6
backend/services/brains/__init__.py
Normal file
6
backend/services/brains/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
"""可插拔的「大脑」:把不同助手类型在运行时的差异收口到各自的 Brain 实现。"""
|
||||
|
||||
from services.brains.base import Brain, BrainSpec
|
||||
from services.brains.registry import SPECS, build_brain
|
||||
|
||||
__all__ = ["Brain", "BrainSpec", "SPECS", "build_brain"]
|
||||
Reference in New Issue
Block a user