refactor: 移除AiHub Domain层对Application.Contracts的循环依赖

移除Yi.Framework.AiHub.Domain项目中对Yi.Framework.AiHub.Application.Contracts的项目引用,解决领域层和应用层之间的循环依赖问题,符合DDD架构分层原则。
This commit is contained in:
chenchun
2025-08-11 15:51:59 +08:00
parent 42d537a68b
commit c17c9000a8
9 changed files with 44 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
using Yi.Framework.AiHub.Domain.Shared.Dtos.OpenAi;
namespace Yi.Framework.AiHub.Domain.Shared.Dtos;
public class MessageInputDto
{
public string? Content { get; set; }
public string Role { get; set; }
public string ModelId { get; set; }
public string? Remark { get; set; }
public ThorUsageResponse? TokenUsage { get; set; }
}