Skip to content

Commit

Permalink
GPT-commit: Updated gitignore, removed logger.cpython-38.pyc, and mod…
Browse files Browse the repository at this point in the history
…ified openai_service.py

GPT-commit: Modified .gitignore, deleted logger.cpython-38.pyc, and modified openai_service.py to reflect project updates and remove unnecessary files.
  • Loading branch information
hwixley committed Dec 11, 2023
1 parent 8ecc345 commit c4899ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.wix-cli-data/
wix-cli-template.sh
*.pyc
Binary file removed scripts/services/__pycache__/logger.cpython-38.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/services/openai_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class OpenAIService:
KEY_PATH = f"{REPO_PATH}/.wix-cli-data/.env"
KEY_NAME="OPENAI_API_KEY"
ENGINE="gpt-3.5-turbo"
ASSISTANT_MESSAGE = { "role": "system", "content": "You are a helpful assistant."}
ASSISTANT_MESSAGE = { "role": "system", "content": "You are a developer pushing code to a git repository. You are writing a commit message for the changes you have made. You must use the following bash git outputs to write an informative and relevant commit message. Make sure to ignore cache files and mention specifically which functions, classes or variables were modified/created/deleted and why."}
SEPARATOR="-"*110
MAX_TOKENS=4097

Expand Down

0 comments on commit c4899ca

Please sign in to comment.