Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion shell/AIShell.Kernel/Shell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,8 @@ internal async Task RunREPLAsync()

StringBuilder sb = null;
string message = ex.Message;
string stackTrace = ex.StackTrace;
// Skip displaying call stack for "HTTP 429" (Too Many Requests) errors to reduce clutter.
string stackTrace = message.Contains("HTTP 429") ? null : ex.StackTrace;

while (ex.InnerException is { })
{
Expand Down