Describe the bug
When hitting enter, I receive an empty response from Claude. Afterwards, the session stops working:
Error: Failed to call chat-completions api
Caused by:
messages.1: all messages must have non-empty content except for the optional final assistant message (type: invalid_request_error)
The dashboard shows:
Latency
0.513 seconds
{
"client_error": false,
"code": 529,
"detail": "Overloaded"
}
Suggested Action:
Implement retry logic with exponential backoff
So it appears that retry logic is missing.
model claude:claude-sonnet-4-20250514
temperature null
top_p null
use_tools null
max_output_tokens 8192 (current model)
save_session null
compress_threshold 4000
rag_reranker_model null
rag_top_k 5
dry_run false
function_calling true
stream true
save false
keybindings emacs
wrap no
wrap_code false
highlight true
theme dark
config_file /home/xx/.config/aichat/config.yaml
env_file /home/xx/.config/aichat/.env
roles_dir /home/xx/.config/aichat/roles
sessions_dir /home/xx/.config/aichat/sessions
rags_dir /home/xx/.config/aichat/rags
macros_dir /home/xx/.config/aichat/macros
functions_dir /home/xx/.config/aichat/functions
messages_file /home/xx/.config/aichat/messages.md
Environment (please complete the following information):
- os version: Fedora 43
- aichat version: aichat 0.30.0
- terminal version: wezterm
Describe the bug
When hitting enter, I receive an empty response from Claude. Afterwards, the session stops working:
The dashboard shows:
So it appears that retry logic is missing.
Environment (please complete the following information):