ahyatt / llm

A package abstracting llm capabilities for emacs.
GNU General Public License v3.0
142 stars 19 forks source link

LLM request timed out for Gemini #17

Closed whhone closed 6 months ago

whhone commented 6 months ago

Gemini could often exceed the default timeout of 5 seconds: https://github.com/ahyatt/llm/blob/97933359cb4f1bf4b03ded5ae43ea3360b818e77/llm-request.el#L60

Consequently, calling llm-chat with Gemini might result in the error message LLM request timed out.

I suggest either increasing the timeout or adding a variable to customize it.