Git Product home page Git Product logo

Comments (5)

cfortune avatar cfortune commented on June 8, 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 ....

from open-interpreter.

6rz6 avatar 6rz6 commented on June 8, 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.

from open-interpreter.

legaltextai avatar legaltextai commented on June 8, 2024

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

from open-interpreter.

onigetoc avatar onigetoc commented on June 8, 2024

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

from open-interpreter.

hossain666 avatar hossain666 commented on June 8, 2024

image

from open-interpreter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.