mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
fix: 修复 Flow Monitor 响应内容显示和提供商显示问题 (#75)
- 修复凭证池模式下非流式响应的 content 和 body 字段未保存问题 - 从响应 JSON 中提取 content、tool_calls 和 usage 信息 - 添加 provider_id 字段用于显示实际的提供商名称 - 优化清理完成弹窗样式,使用自定义 Modal 组件 - 美化排序下拉框,使用 Radix UI Select 组件 - 添加详细的调试日志用于追踪 Flow 显示问题 - 修复所有测试代码中缺少 provider_id 字段的问题
This commit is contained in:
@@ -128,6 +128,7 @@ impl E2ETestContext {
|
||||
error: None,
|
||||
metadata: FlowMetadata {
|
||||
provider: provider,
|
||||
provider_id: None,
|
||||
credential_name: Some("test-cred".to_string()),
|
||||
credential_id: Some("test-cred-id".to_string()),
|
||||
retry_count: 0,
|
||||
|
||||
Reference in New Issue
Block a user