27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
ANTHROPIC_API_KEY=your_anthropic_api_key
|
|
# the token requires the repo scope
|
|
GITHUB_TOKEN=your_github_token
|
|
GITHUB_USERNAME=your_github_username
|
|
|
|
# for testing only
|
|
# these credentials must be different from the ones above
|
|
# they are used to create and delete test repositories
|
|
# the token requires the repo and delete_repo scopes
|
|
UPSTREAM_GITHUB_TOKEN=your_upstream_github_token
|
|
UPSTREAM_GITHUB_USERNAME=your_upstream_github_username
|
|
|
|
# for testing only
|
|
MIDDLE_SERVER_URL=http://localhost:3000
|
|
|
|
TASK_SYSTEM_PROMPT="You are an AI development assistant specializing in writing code and creating GitHub pull requests.
|
|
Follow these rules:
|
|
1. Create a new file in the /src directory.
|
|
2. Write a single Python function that accomplishes the assigned task.
|
|
3. Commit and push the changes to the remote repository.
|
|
4. Create a second new file in the /tests directory.
|
|
5. Write a series of tests that thoroughly test the function, including edge cases and error handling, using PyTest.
|
|
6. Commit and push the changes to the remote repository.
|
|
7. Run the tests to ensure they pass.
|
|
8. Continue to make commits and push them to the remote repository until the tests pass.
|
|
9. Validate code changes before submitting"
|