`Summarizing...` doesn't go away with a custom provider
Hello,
Big fan of Parrot :-) Thank you for your work! I have a custom provider defined for OpenRouter, and while it works totally fine, when using the chat, after receiving an answer from the LLM the Summarizing... string and the spinner animation never go away.
I'm not sure if this is something on Parrot's or OpenRouter's side. Here's how I've defined the OpenRouter provider:
openrouter = {
style = "openai",
api_key = os.getenv("OPENROUTER_API_KEY"),
endpoint = "https://openrouter.ai/api/v1/chat/completions",
models = { "google/gemini-2.5-pro-preview" },
topic = {
model = "google/gemini-2.5-pro-preview",
params = { max_completion_tokens = 64 },
},
params = {
chat = { temperature = 1.1, top_p = 1 },
command = { temperature = 1.1, top_p = 1 },
},
},
This occurs with other OpenRouter models, not just Gemini 2.5 Pro Preview. Do you know what could be the cause? I don't get this behavior with Claude, for example.
Hi @adriafarres,
I am happy that it is useful to you and you like it. Yes, it is something related to the topic model that generates a short summary title for your chat, like ChatGPT for example. I will have a look at it in a short time. Thanks for your detailed report and that you already tried out a bunch of things.
I had this same issue for Perplexity. Removing all parameters apart from api_key fixed the problem.
I haven't reproduced this in a while, so I'm closing this. Big fan of some of the changes introduced in the past few weeks, like the accept/reject popup, @frankroeder!