-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Feat: ai proxy monitor #4985
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
Feat: ai proxy monitor #4985
Conversation
* Aiproxy ModelBoard * Add components LineChartComponent and Make some revisions
Preview mcp_server Image: |
Coverage Report
File Coverage
|
Preview mcp_server Image: |
Preview sandbox Image: |
Deploying fastgpt-doc with
|
Latest commit: |
1625f68
|
Status: | ✅ Deploy successful! |
Preview URL: | https://994af78f.fastgpt-8gr.pages.dev |
Branch Preview URL: | https://test-dashboard.fastgpt-8gr.pages.dev |
Deployment Status: ✅ Success |
Preview sandbox Image: |
Deployment Status: ✅ Success |
Preview mcp_server Image: |
Preview sandbox Image: |
Deployment Status: ✅ Success |
There was a problem hiding this 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
FastGPT/projects/app/src/pageComponents/account/model/ModelDashboard/index.tsx
Lines 178 to 179 in 7085502
const errorCalls = item.models.reduce((acc, model) => acc + model.exception_count, 0); | |
const errorRate = Number((errorCalls / totalCalls).toFixed(2)); |
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 👎
Preview fastgpt Image: |
Preview fastgpt Image: |
Preview fastgpt Image: |
No description provided.