Comments (5)
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.
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.
i had the same issue. apparently , it's been fixed already. run --upgrade.
from open-interpreter.
Same here. May 16 2024.
computer is not defined. (Just after upgradding open-interpreter)
from open-interpreter.
from open-interpreter.
Related Issues (20)
- role inversion with llama 3 "You are Open Interpreter"
- Hosted multimodal models from Open Router currently don't work on Open Interpreter HOT 2
- Adding the 'Computer' destroyed open intererpreter which was the best product i used HOT 9
- Installation fails without specifying full Python version in one-liner `oi-mac-installer.sh`
- Termux: tip and report, each time during upgrade
- In VSCode terminal, generated code blocks & errors progressively repeat in a flashing way
- "open terminal failed: not a terminal"
- Password-input prompt from OS was removed from the terminal when OI try to run `sudo` commands. HOT 3
- "× This environment is externally managed" Error
- support for gpt-4o HOT 5
- Field "model_name" has conflict with protected namespace "model_". HOT 2
- 使用 ollama 本地模型时报错 HOT 1
- computer is not defined HOT 1
- Install for Noobs like me on windows 10 HOT 4
- `AttributeError: 'wrapper_descriptor' object has no attribute '__code__'` when attempting to use a custom language HOT 1
- [interprsbendary25:feature/edit-codemeter/core/respond.py__](url) HOT 2
- No module named 'openai.types.beta.threads.message_content' HOT 1
- may I know why OI output so many texts?
- `java` disabled or not supported.
- Windows timers use deprecated "AT command" instead of schtasks (pwsh)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-interpreter.