update readme

This commit is contained in:
alckasoc
2025-10-04 02:50:52 +00:00
parent 9597193bd5
commit f55ec8627f
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -110,6 +110,8 @@ If you would like to test Agent S3 while making changes, clone the repository an
pip install -e .
```
Don't forget to also `brew install tesseract`! Pytesseract requires this extra installation to work.
### API Configuration
#### Option 1: Environment Variables
+3 -1
View File
@@ -73,7 +73,9 @@ def call_llm_formatted(generator, format_checkers, **kwargs):
attempt = 0
response = ""
if kwargs.get("messages") is None:
messages = generator.messages.copy() # Copy messages to avoid modifying the original
messages = (
generator.messages.copy()
) # Copy messages to avoid modifying the original
else:
messages = kwargs["messages"]
del kwargs["messages"] # Remove messages from kwargs to avoid passing it twice