Skip to content

[BUG] http 429 errors and efrit-chat no longer working #25

@Leimy

Description

@Leimy

Bug Description

❌ Error: HTTP error: (error http 429)

I was trying to use efrit-agent to debug what was going on with efrit-chat which now fails with:

====
You: hello

System: Thinking...

System: Failed to send request: Wrong type argument: arrayp, ("⠋" "⠙" "⠹" "⠸" "⠼" "⠴" "⠦" "⠧" "⠇" "⠏")

Not sure what changed recently. Just updated today.

Environment

  • Emacs version: 31.0.5
  • Efrit version: 0.4.1
  • Operating System: macOS Tahoe 26.1
  • Claude API key configured: yes

Steps to Reproduce

  1. Update to Efrit 0.4.1 and try to use efrit-chat.
  2. Efrit-agent is failing with too many requests

Expected Behavior

Efrit chat shouldn't have errors

Actual Behavior

"Wrong argument type: arrays"

Error Messages

Already above

Minimal Reproduction

Can you reproduce this with a minimal example?

Additional Context

Let me know what you want and I'll do my best to provide it.

Checklist

  • I've run M-x efrit-doctor to check for common configuration issues
  • I've verified my Claude API key works (check ~/.authinfo)
  • I've checked existing issues to avoid duplicates
  • I've included error messages from Messages buffer
  • I've provided a minimal reproduction case

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions