OGAM icon indicating copy to clipboard operation
OGAM copied to clipboard

[Bug] web_search issue&model first token generation issue

Open Aboud10-star opened this issue 8 months ago • 13 comments

I really like offgrid app (I am using the app on Android) but there are some problems I see and I would be happy if it was fixed,

First problem is web search tool, Sometimes when the model calling the web search many times it cames with no results, sometimes when doing same search it comes with results. Another problem at same tool that after the model call the web search tool 2 times and want to call to the 3rd time I see the model stopped continuing and even the third time search stops, I need to type something to the Ai model again so it starts doing the web search,shortly the model can't search web 3 times at the same response.This problem happens on more than 2 models

Second problem is the first token generation, Before the last update the model takes very long to generate first token,but after this update the app starts to generate the first token very fast but only at the first response, when I continue chat the second response becomes slow until generating the first token. It takes sometimes more than a minute, it should be faster. After first token everything is ok.(This problem for all models)

Please fix these issue and I really like your app, but these problems are too annoying...

Image

Aboud10-star avatar Mar 16 '26 13:03 Aboud10-star

hey @Aboud10-star,

Thank you for the kind words, i'll take a look at this and push a fix soon.

alichherawalla avatar Mar 16 '26 13:03 alichherawalla

It looks like a context issue however. What is the current context length? You should increase it to the max i.e 32K, and then it will handle this + the context compaction will also set in

alichherawalla avatar Mar 16 '26 13:03 alichherawalla

Ok just a second let me try

Aboud10-star avatar Mar 16 '26 13:03 Aboud10-star

roger let me know. You can even join us on slack for easier comms https://tinyurl.com/498pxd22

alichherawalla avatar Mar 16 '26 13:03 alichherawalla

I did what you say with context length.its 32k but still same problem. I also did new chat and reload the model

Aboud10-star avatar Mar 16 '26 13:03 Aboud10-star

could it be a model problem? can you try with other models like qwen3.5 2b?

alichherawalla avatar Mar 16 '26 14:03 alichherawalla

I'll ofcourse definitely triage and try to reproduce, but this would help narrow down

alichherawalla avatar Mar 16 '26 14:03 alichherawalla

I also tried qwen3.5 0.8b all same issue

Aboud10-star avatar Mar 16 '26 14:03 Aboud10-star

ok, I'll investigate. Let me come back on this

alichherawalla avatar Mar 16 '26 14:03 alichherawalla

Ok thanks

Aboud10-star avatar Mar 16 '26 14:03 Aboud10-star

I run into the issue after some successful searches it now always come back with no results. Is there some limits in place?

I really love this app! It is amazing!

vistalba avatar Mar 21 '26 07:03 vistalba

facing same issue

DinMon avatar Jul 11 '26 08:07 DinMon

Happens when connecting to remote Ollama models too. Great work on the btw; absolutely insane!

lynnlynnp avatar Sep 04 '26 04:09 lynnlynnp