mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-05 15:10:20 +08:00
14 lines
435 B
Python
14 lines
435 B
Python
# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
from src.server.rag_request import RAGConfigResponse
|
|
|
|
|
|
class ConfigResponse(BaseModel):
|
|
"""Response model for server config."""
|
|
|
|
rag_config: RAGConfigResponse = Field(..., description="The config of the RAG")
|
|
configured_llms: dict[str, list[str]] = Field(..., description="The configured LLM")
|