Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

computer.browser.search is dead #1208

Open
cfortune opened this issue Apr 17, 2024 · 5 comments
Open

computer.browser.search is dead #1208

cfortune opened this issue Apr 17, 2024 · 5 comments

Comments

@cfortune
Copy link

Describe the bug

all web searches freeze indefinately

Reproduce

any web search

Expected behavior

returns search results

Screenshots

No response

Open Interpreter version

0.2.4

Python version

3.11.5

Operating System name and version

Windows 10

Additional context

started suddenly sometime in the last two days or so. It was working fine before that.

@cfortune
Copy link
Author

cfortune commented Apr 17, 2024

Verbose output
`
{'role': 'assistant', 'content': 'Sure, could you please tell me what specifically you would like me to search for?'}, {'role': 'user', 'content': 'web search frogs of the sahara'}]
Token Counter - using OpenAI token counter, for model=gpt-4

LiteLLM: Utils - Counting tokens for OpenAI model=gpt-4
Token Counter - using OpenAI token counter, for model=gpt-4
LiteLLM: Utils - Counting tokens for OpenAI model=gpt-4
Logging Details LiteLLM-Success Call streaming complete
Looking up model=gpt-4 in model_cost_map
Success: model=gpt-4 in model_cost_map
prompt_tokens=750; completion_tokens=27
Returned custom cost for model=gpt-4 - prompt_tokens_cost_usd_dollar: 0.0225, completion_tokens_cost_usd_dollar: 0.0016200000000000001
final cost: 0.02412; prompt_tokens_cost_usd_dollar: 0.0225; completion_tokens_cost_usd_dollar: 0.0016200000000000001

`
.... It hangs here, indefinitely ....

@6rz6
Copy link

6rz6 commented Apr 19, 2024

I have reconstructed the system message on my side to not use the computer and run CLI and python code only upon a specific request such as browse, in that case the intruction is to write code using python such as beautiful soap and scraping. all the tests i didn with the computer on 7b param open source LLMs are failing due to poor system message sysntax.
i will share my system msg after i get a confirmation on the submitted llama.cpp merge approval to main. hint, change your system prompt and remove the 'execute' leave the computer as an imaginary idea not a py class. tell the op-in to output 3 then CLI and 2 \n then your input on py code to perform the task and then another \n and 3 this will construct the place holder tor passing any $CLIcommand or $pycode_request and the LLM will understand and not get errors. filnal output of the execute markdown instructions: CLI\n\n $your_input_if_its_CLI_Pycode \n and everything works smooth and without errors. even some 1.8b llm are able to function when the system msg is clear. who wants to send sms's and call john lol....its a computer not a phone...yet.

@legaltextai
Copy link

i had the same issue. apparently , it's been fixed already. run --upgrade.

@onigetoc
Copy link

Same here. May 16 2024.
computer is not defined. (Just after upgradding open-interpreter)
Capture d’écran 2024-05-16 145808

@hossain666
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants