Skip to content

Commit 60b5467

Browse files
authored
Update README.md
1 parent 80b2b11 commit 60b5467

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,20 @@ This is a tutorial project of [Pocket Flow](https://github.com/The-Pocket/Pocket
7070
pip install -r requirements.txt
7171
```
7272

73-
3. Set up LLM in [`utils/call_llm.py`](./utils/call_llm.py) by providing credentials (API key or project name). We highly recommend the latest models with thinking capabilities (Gemini Pro 2.5, Claude 3.7 with thinking, O1). You can verify if it is correctly set up by running:
73+
3. Set up LLM in [`utils/call_llm.py`](./utils/call_llm.py) by providing credentials. By default, you can use the AI Studio key with this client for Gemini Pro 2.5:
74+
75+
```python
76+
client = genai.Client(
77+
api_key=os.getenv("GEMINI_API_KEY", "your-api_key"),
78+
)
79+
```
80+
81+
You can use your own models. We highly recommend the latest models with thinking capabilities (Claude 3.7 with thinking, O1). You can verify that it is correctly set up by running:
7482
```bash
7583
python utils/call_llm.py
7684
```
7785

78-
4. Generate a complete codebase tutorial by running the main script:
86+
7. Generate a complete codebase tutorial by running the main script:
7987
```bash
8088
python main.py https://github.com/username/repo --include "*.py" "*.js" --exclude "tests/*" --max-size 50000
8189
```
@@ -104,4 +112,4 @@ The application will crawl the repository, analyze the codebase structure, gener
104112
<img src="./assets/youtube_thumbnail.png" width="500" alt="IMAGE ALT TEXT" style="cursor: pointer;">
105113
</a>
106114
</div>
107-
<br>
115+
<br>

0 commit comments

Comments
 (0)