-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Description
Summary
When the error message from LLM provider is long and goes out of the viewport, the error message isn't scrollable and the end of the message is not visible/viewable.
Need to let it be scrollable so that the end of the message is also visible.
Description
Steps to trigger the problem (this is for Google's LLM Provider):
- Say you have an API key who's quota is exhausted.
- You make a request using the agent panel.
- The agent retries the requests twice. Then shows the long error message.
- You want to see the error message but you cant scroll on it.
Expected Behavior:
- Error message should be scrollable.
Actual Behavior: - We need to copy and paste the error into an empty buffer to see what the content at the end is.
Model Provider Details
- Provider: google, (but valid for any provider whose error message is long. )
- Model Name: gemini-3-pro
- Mode: Agent Panel
Zed Version and System Specs
Zed: v0.213.3 (Zed)
OS: macOS 26.1
Memory: 16 GiB
Architecture: aarch64
If applicable, attach your Zed.log file to this issue.
Zed.log
2025-11-22T10:50:33+05:30 ERROR [agent::thread] Turn execution failed: failed to stream completion
Caused by:
error during streamGenerateContent, status code: 429, body: {
"error": {
"code": 429,
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/usage?tab=rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-3-pro\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-3-pro\nPlease retry in 26.338407177s.",
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Learn more about Gemini API quotas",
"url": "https://ai.google.dev/gemini-api/docs/rate-limits"
}
]
},
{
"@type": "type.googleapis.com/google.rpc.QuotaFailure",
"violations": [
{
"quotaMetric": "generativelanguage.googleapis.com/generate_content_free_tier_requests",
"quotaId": "GenerateRequestsPerDayPerProjectPerModel-FreeTier",
"quotaDimensions": {
"location": "global",
"model": "gemini-3-pro"
}
},
{
"quotaMetric": "generativelanguage.googleapis.com/generate_content_free_tier_requests",
"quotaId": "GenerateRequestsPerMinutePerProjectPerModel-FreeTier",
"quotaDimensions": {
"location": "global",
"model": "gemini-3-pro"
}
}
]
},
{
"@type": "type.googleapis.com/google.rpc.RetryInfo",
"retryDelay": "26s"
}
]
}
}
2025-11-22T10:50:33+05:30 ERROR [agent] Error in model response stream: failed to stream completion
Caused by:
error during streamGenerateContent, status code: 429, body: {
"error": {
"code": 429,
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/usage?tab=rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-3-pro\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-3-pro\nPlease retry in 26.338407177s.",
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Learn more about Gemini API quotas",
"url": "https://ai.google.dev/gemini-api/docs/rate-limits"
}
]
},
{
"@type": "type.googleapis.com/google.rpc.QuotaFailure",
"violations": [
{
"quotaMetric": "generativelanguage.googleapis.com/generate_content_free_tier_requests",
"quotaId": "GenerateRequestsPerDayPerProjectPerModel-FreeTier",
"quotaDimensions": {
"location": "global",
"model": "gemini-3-pro"
}
},
{
"quotaMetric": "generativelanguage.googleapis.com/generate_content_free_tier_requests",
"quotaId": "GenerateRequestsPerMinutePerProjectPerModel-FreeTier",
"quotaDimensions": {
"location": "global",
"model": "gemini-3-pro"
}
}
]
},
{
"@type": "type.googleapis.com/google.rpc.RetryInfo",
"retryDelay": "26s"
}
]
}
}
Metadata
Metadata
Assignees
Labels
No labels