Skip to content

Conversation

c121914yu
Copy link
Collaborator

No description provided.

ctrlz526 and others added 3 commits June 10, 2025 01:40
* Aiproxy ModelBoard

* Add components LineChartComponent and Make some revisions
Copy link
Contributor

gru-agent bot commented Jun 9, 2025

TestGru Assignment

Summary

Link CommitId Status Reason
Detail 211a535 ✅ Finished

Files

File Pull Request
projects/app/src/web/core/ai/channel.ts 🟣 Merged #4987

Tip

You can @gru-agent and leave your feedback. TestGru will make adjustments based on your input

Copy link

github-actions bot commented Jun 9, 2025

Preview mcp_server Image: ghcr.io/labring/fastgpt-pr:fatsgpt_mcp_server_211a535e300b935ab20b7f40fab9ef949a978946

Copy link

github-actions bot commented Jun 9, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 21.73% 11803 / 54313
🔵 Statements 21.73% 11803 / 54313
🔵 Functions 28.88% 314 / 1087
🔵 Branches 65.96% 812 / 1231
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
projects/app/src/pages/api/aiproxy/[...path].ts 0% 0% 0% 0% 1-81
projects/app/src/web/core/ai/channel.ts 0% 0% 0% 0% 1-210
Generated in workflow #1096 for commit 7085502 by the Vitest Coverage Report Action

Copy link

github-actions bot commented Jun 9, 2025

Preview mcp_server Image: ghcr.io/labring/fastgpt-pr:fatsgpt_mcp_server_1625f68598bee09556a30d7057cbf6b59fdffd98

Copy link

github-actions bot commented Jun 9, 2025

Preview sandbox Image: ghcr.io/labring/fastgpt-pr:fatsgpt_sandbox_211a535e300b935ab20b7f40fab9ef949a978946

Copy link

cloudflare-workers-and-pages bot commented Jun 9, 2025

Deploying fastgpt-doc with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1625f68
Status: ✅  Deploy successful!
Preview URL: https://994af78f.fastgpt-8gr.pages.dev
Branch Preview URL: https://test-dashboard.fastgpt-8gr.pages.dev

View logs

Copy link

github-actions bot commented Jun 9, 2025

Deployment Status: ✅ Success
🔗 Preview URL: https://a1de19b8.fastgpt-8gr.pages.dev

Copy link

github-actions bot commented Jun 9, 2025

Preview sandbox Image: ghcr.io/labring/fastgpt-pr:fatsgpt_sandbox_708550238f03d0237b6b0bd45fc75f020422c462

Copy link

github-actions bot commented Jun 9, 2025

Deployment Status: ✅ Success
🔗 Preview URL: https://994af78f.fastgpt-8gr.pages.dev

Copy link

github-actions bot commented Jun 9, 2025

Preview mcp_server Image: ghcr.io/labring/fastgpt-pr:fatsgpt_mcp_server_708550238f03d0237b6b0bd45fc75f020422c462

Copy link

github-actions bot commented Jun 9, 2025

Preview sandbox Image: ghcr.io/labring/fastgpt-pr:fatsgpt_sandbox_1625f68598bee09556a30d7057cbf6b59fdffd98

@c121914yu c121914yu merged commit 101a6e9 into main Jun 9, 2025
9 checks passed
Copy link

github-actions bot commented Jun 9, 2025

Deployment Status: ✅ Success
🔗 Preview URL: https://facaff23.fastgpt-8gr.pages.dev

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Zero Division Error in Error Rate Calculation

Division by zero error in the ModelDashboard component. When totalCalls is 0, the errorRate calculation (errorCalls / totalCalls) results in NaN, which causes chart rendering issues. The errorRate should be 0 when there are no calls.

projects/app/src/pageComponents/account/model/ModelDashboard/index.tsx#L178-L179

const errorCalls = item.models.reduce((acc, model) => acc + model.exception_count, 0);
const errorRate = Number((errorCalls / totalCalls).toFixed(2));

Fix in Cursor


BugBot free trial expires on June 13, 2025
You have used $0.00 of your $50.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

Copy link

github-actions bot commented Jun 9, 2025

Preview fastgpt Image: ghcr.io/labring/fastgpt-pr:fatsgpt_211a535e300b935ab20b7f40fab9ef949a978946

Copy link

github-actions bot commented Jun 9, 2025

Preview fastgpt Image: ghcr.io/labring/fastgpt-pr:fatsgpt_1625f68598bee09556a30d7057cbf6b59fdffd98

Copy link

github-actions bot commented Jun 9, 2025

Preview fastgpt Image: ghcr.io/labring/fastgpt-pr:fatsgpt_708550238f03d0237b6b0bd45fc75f020422c462

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

Successfully merging this pull request may close these issues.

2 participants