refactor: 进一步重构agents目录结构 符合多agent架构
This commit is contained in:
@@ -6,7 +6,7 @@ from app.features.user.models import User
|
||||
|
||||
def get_missing_profile_fields(user: User) -> list:
|
||||
"""检查用户缺失的资料字段"""
|
||||
from app.agents.prompts.profile_prompts import get_missing_profile_fields as _get_missing
|
||||
from app.agents.chat.prompts_profile import get_missing_profile_fields as _get_missing
|
||||
return _get_missing(
|
||||
birth_year=user.birth_year,
|
||||
birth_place=user.birth_place,
|
||||
|
||||
@@ -10,7 +10,7 @@ from datetime import datetime, timezone
|
||||
from fastapi import WebSocket, WebSocketDisconnect, status
|
||||
from starlette.websockets import WebSocketState
|
||||
|
||||
from app.agents.prompts.profile_prompts import format_user_profile_context
|
||||
from app.agents.chat.prompts_profile import format_user_profile_context
|
||||
from app.core.db import AsyncSessionLocal
|
||||
from app.core.security import verify_token
|
||||
from app.features.conversation.models import Conversation, Segment
|
||||
|
||||
Reference in New Issue
Block a user