Issue running gpt-engineer #918
MrData1975
started this conversation in
General
Replies: 2 comments
-
Does your api key support gpt-4-1106-preview (the default of gpt-engineer) |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was fixed in 242f37d |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm new to GPT Engineer but after instaling, i can't run, i get this error
In the example folder i have a simple file with no extension called prompt, with a simple text of the example prompt
(gpt-eng) C:\Users\D\Documents\GPT>gpt-engineer example
Traceback (most recent call last):
File "C:\Users\D\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\D\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\D\Documents\GPT\gpt-eng\gpt-eng\Scripts\gpt-engineer.exe_main.py", line 4, in
from gpt_engineer.applications.cli.main import app
File "C:\Users\D\Documents\GPT\gpt-eng\gpt-eng\lib\site-packages\gpt_engineer\applications\cli\main.py", line 38, in
from gpt_engineer.applications.cli.cli_agent import CliAgent
File "C:\Users\D\Documents\GPT\gpt-eng\gpt-eng\lib\site-packages\gpt_engineer\applications\cli\cli_agent.py", line 4, in
from gpt_engineer.core.ai import AI
File "C:\Users\D\Documents\GPT\gpt-eng\gpt-eng\lib\site-packages\gpt_engineer\core\ai.py", line 23, in
from gpt_engineer.core.token_usage import TokenUsageLog
File "C:\Users\D\Documents\GPT\gpt-eng\gpt-eng\lib\site-packages\gpt_engineer\core\token_usage.py", line 8, in
from langchain.callbacks.openai_info import get_openai_token_cost_for_model
ImportError: cannot import name 'get_openai_token_cost_for_model' from 'langchain.callbacks.openai_info' (C:\Users\D\Documents\GPT\gpt-eng\gpt-eng\lib\site-packages\langchain\callbacks\openai_info.py)
Can you please help me out?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions