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

Fix/docker container #1144

Closed

Conversation

zigabrencic
Copy link
Collaborator

@zigabrencic zigabrencic commented May 9, 2024

@viborc @ATheorell to test:

cd gpt-engineer
docker build --rm -t gpt-engineer -f docker/Dockerfile .

cd parent/folder/of/my/test-project

docker run -it --rm -e OPENAI_API_KEY="$OPENAI_API_KEY" -v ./test-project:/project gpt-engineer

Above works all the correct output with prompt file:

Write a python script that sums up two numbers. Provide only the `sum_two_numbers` function and nothing else.

Provide two tests:

- assert(sum_two_numbers(100, 10) == 110)
- assert(sum_two_numbers(10.1, 10) == 20.1)

but I get:

/usr/local/lib/python3.11/site-packages/langchain/_api/module_import.py:120: LangChainDeprecationWarning: Importing SQLiteCache from langchain is deprecated. Please replace deprecated imports:

>> from langchain import SQLiteCache

with new imports of:

>> from langchain_community.cache import SQLiteCache

  warn_deprecated(

Propose we fix the above too. Do we do it in a separate PR? The langchain.cache fix?

@zigabrencic zigabrencic deleted the fix/docker-container branch May 18, 2024 07:25
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

Successfully merging this pull request may close these issues.

None yet

4 participants