diff --git a/README.md b/README.md index 00fbb45..a31d5bc 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,19 @@ This is a tutorial project of [Pocket Flow](https://github.com/The-Pocket/Pocket The application will crawl the repository, analyze the codebase structure, generate tutorial content in the specified language, and save the output in the specified directory (default: ./output). +## 🐳 Running with Docker + +To run this project in a Docker container: + +### 1. Build the Docker image + ```bash +docker build -t pocketflow-app . + +### 2.Run the conatainer +docker run -it --rm pocketflow-app + + + ## 💡 Development Tutorial - I built using [**Agentic Coding**](https://zacharyhuang.substack.com/p/agentic-coding-the-most-fun-way-to), the fastest development paradigm, where humans simply [design](docs/design.md) and agents [code](flow.py). diff --git a/utils/call_llm.py b/utils/call_llm.py index a01929e..cde3822 100644 --- a/utils/call_llm.py +++ b/utils/call_llm.py @@ -56,7 +56,7 @@ def call_llm(prompt: str, use_cache: bool = True) -> str: # You can comment the previous line and use the AI Studio key instead: client = genai.Client( - api_key=os.getenv("GEMINI_API_KEY", "AIzaSyDzXuRp0hP6wAWUFTGRrUPDiKWffUm7vGk"), + api_key=os.getenv("GEMINI_API_KEY", ""), ) model = os.getenv("GEMINI_MODEL", "gemini-2.5-pro-exp-03-25") # model = os.getenv("GEMINI_MODEL", "gemini-2.5-flash-preview-04-17")