web-ui icon indicating copy to clipboard operation
web-ui copied to clipboard

⚠️ Research Incomplete - Partial Results The research process was interrupted by an error: string indices must be integers, not 'str'

Open manualsh opened this issue 1 year ago • 4 comments

INFO [src.utils.deep_research] Start 1th Search... ERROR [src.utils.deep_research] Deep research Error: string indices must be integers, not 'str' INFO [src.utils.deep_research] Attempting to generate final report from collected data... INFO [src.utils.deep_research] save All recorded information at ./tmp/deep_research/8867829d-7f68-4281-a34f-079af2342be2\record_infos.json

ChatGPT suggested below fix -

https://chatgpt.com/share/67adb55b-38ac-8001-aef2-491eb9c08d8c

manualsh avatar Feb 13 '25 09:02 manualsh

browser-use version?

warmshao avatar Feb 14 '25 10:02 warmshao

As per web-ui requirements.txt, the version is browser-use==0.1.29

manualsh avatar Feb 15 '25 10:02 manualsh

I been having similar issues, tried a lot of stuff... been running some fairly extensive testing and my best results thus far is with. ollama qwen2.5:72b-instruct-q6_K, tho 32b q8 and even 14b q8 works, q4 of both those work, but they tend to easily misunderstand the question / deep research tasks.

qwen2.5 seems like a stupid model, or its not a CoT, so that greatly reduces its abilities. been trying to get the ollama deepseek-r1:32b-qwen-distill-q8_0 to do deep research tasks, but it fails very reliably. also tried the 70b-llama-distill-q8, but that was a while back....

atleast at that point the deepseek llama distill and llama-90b vision didn't work.

i assume the issue is lack or different function calls or what ollama site seems to term as tool models. https://ollama.com/search?c=tools

tho i must admit i haven't actually tried any of the other ollama options... was just enjoying it was actually working.

saw customizable context length was added today, that was nice.... but really 64k max ... tsk tsk might as well go 1m and my reports seems kinda short.... they might run into a low max sequence length, been looking for a way to increase that also... its really a very important thing, since ollama's defaults are generally very low.

so the software accessing the Ollama API has to tell it what it wants.

happy having the deep research ability, even tried having it figure out a way to fix the deepseek-r1 issues. it didn't seem a very viable solution and it was cut short due to the sequence length, even tho my research was successful...

maybe we could also get a feature, that allowed for regeneration of reports from old data, since the research data seems to get saved... that would be very useful.... like pause and resume features would also be great.

its painful to see a deep research task fail after 86 search iterations...

oh yeah another note, i've seen some issues where it like stalls using just cpu after or during a research task, or maybe that was with the agent... found that i need to disable the enable recording feature.... might be due to it was running in a vm with no real resources.

just started turning it off each time, haven't really had it working for long enough to run out of stuff to deep research. not sure if its a problem anymore... but it was for my case, 2 or 3 updates ago, maybe more.

tried llama3.3 70b q6 also works just fine.... so pretty sure its that tools / function calling llm feature thing missing in deepseek, that might be the issue, or maybe browser-use web-ui, doesn't address deepseek correctly..... i duno llama3.3 seems less adept than qwen2.5 72b q6, maybe.... still early into using it...

i'm also running the latest and have updated, every day or couple of days, hard reset git clone of the main branch. or whatever its called.

SGC41 avatar Feb 16 '25 21:02 SGC41

the latest should have supported it

warmshao avatar May 01 '25 15:05 warmshao