feat: 新增文件夹

This commit is contained in:
ccnetcore
2025-06-19 19:13:43 +08:00
parent c3cf49c63e
commit b39f15c798
13 changed files with 193 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ namespace Yi.Framework.ChatHub.Domain.Managers
var openSettings = new AzureOpenAIPromptExecutionSettings()
{
MaxTokens = 1000,
MaxTokens = 3000,
//MaxTokens = 1000
};
@@ -51,14 +51,9 @@ namespace Yi.Framework.ChatHub.Domain.Managers
executionSettings: openSettings,
kernel: _client.Kernel);
if (results is null)
{
yield return null;
}
await foreach (var result in results)
{
yield return result.Content;
yield return result?.Content;
}
}
}