Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 使用百度千帆api问题 #873

Open
2 of 9 tasks
73410 opened this issue Oct 30, 2024 · 0 comments
Open
2 of 9 tasks

[Bug] 使用百度千帆api问题 #873

73410 opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@73410
Copy link

73410 commented Oct 30, 2024

Bug 描述

使用百度千帆api明明已经显示了内容,但又显示了doesn't return any data

复现问题的步骤

使用ai总结,使用百度的模型,然后会开始显示内容,但是一会会显示doesn't return any data

预期行为

正常显示

截图

image
image

应用来源

  • Github
  • 微软商店(Microsoft Store)
  • 其它

其它来源

No response

系统版本

  • Windows 10 (Build 19041 - 19045)
  • Windows 11 21H2 (Build 22000)
  • Windows 11 22H2 (Build 22621)
  • Windows 11 23H2 (Build 22631)
  • Windows 11 24H2 (Build 26100)
  • 其它 (需注明)

其它系统版本

No response

运行设备

No response

日志记录

2024/10/30 14:29:35.984|Error|QianFan | ernie-speed-pro-128k 发生错误|Microsoft.SemanticKernel.KernelException: QianFan API doesn't return any data.
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.ValidateQianFanResponse(QianFanChatResponse qianFanResponse)
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.ProcessChatResponseStreamAsync(Stream responseStream, CancellationToken ct)+MoveNext()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.ProcessChatResponseStreamAsync(Stream responseStream, CancellationToken ct)+MoveNext()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.ProcessChatResponseStreamAsync(Stream responseStream, CancellationToken ct)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync(ChatCompletionState state, Stream responseStream, CancellationToken ct)+MoveNext()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync(ChatCompletionState state, Stream responseStream, CancellationToken ct)+MoveNext()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.GetStreamingChatMessageContentsOrPopulateStateForToolCallingAsync(ChatCompletionState state, Stream responseStream, CancellationToken ct)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.StreamGenerateChatMessageAsync(ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)+MoveNext()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.StreamGenerateChatMessageAsync(ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)+MoveNext()
at Microsoft.SemanticKernel.Connectors.QianFan.Core.QianFanChatCompletionClient.StreamGenerateChatMessageAsync(ChatHistory chatHistory, PromptExecutionSettings executionSettings, Kernel kernel, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at BiliAgent.Core.AgentClient.SendMessageAsync(ProviderType type, String modelId, String message, Action1 streamingAction, CancellationToken cancellationToken) at BiliAgent.Core.AgentClient.SendMessageAsync(ProviderType type, String modelId, String message, Action1 streamingAction, CancellationToken cancellationToken)

备注

No response

人人为我,我为人人

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants