Skip to content

"Toto, I have a feeling we're not in Kansas anymore" This is an example pattern for using calls to an AI API to test and create PRs for multiple small tech debt issues

Notifications You must be signed in to change notification settings

bbc/not_in_kansas

Repository files navigation

Ensure you have set your OpenAI and GOOGLE_API_KEY keys as an environment variable.

export OPENAI_API_KEY='your-api-key-here'

To Run the Script:

python main.py --prompt-file path/to/prompt_original.txt --context-file path/to/context.json

Ensure Environment Setup: • Install dependencies: Use poetry shell • Make sure gh, git, and other required CLI tools are installed and authenticated.

Example: For test: All tests:

python -m unittest discover tests

Unit tests:

python -m unittest tests.test_repo_processor

Only integration tests:

python -m unittest tests.test_integration
python main.py --prompt-file /Users/errolelliott/IdeaProjects/not_in_kansas/prompt_original.txt --context-file path/to/context.json

About

"Toto, I have a feeling we're not in Kansas anymore" This is an example pattern for using calls to an AI API to test and create PRs for multiple small tech debt issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages