Skip to content

Commit

Permalink
Fix compose commands (#1954)
Browse files Browse the repository at this point in the history
  • Loading branch information
NolanTrem authored Feb 9, 2025
1 parent 4e11f34 commit 30f7fd5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compose.full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ services:

# R2R
- R2R_LOG_LEVEL=${R2R_LOG_LEVEL:-INFO}
- R2R_CONFIG_NAME=${R2R_CONFIG_NAME:-full}
- R2R_CONFIG_NAME=${R2R_CONFIG_NAME:-}
- R2R_CONFIG_PATH=${R2R_CONFIG_PATH:-}
- R2R_PROJECT_NAME=${R2R_PROJECT_NAME:-r2r_default}
- R2R_SECRET_KEY=${R2R_SECRET_KEY:-}
Expand Down
6 changes: 5 additions & 1 deletion py/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ python -m r2r.serve

# Alternatively, run R2R in `full` mode
# git clone [email protected]:SciPhi-AI/R2R.git . && cd R2R
# COMPOSE_PROFILES=postgres docker compose -f compose.full.yaml down
# export OPENAI_API_KEY=sk-...
# export R2R_CONFIG_NAME=full

# docker compose -f compose.full.yaml --profile postgres up -d
# `--profile postgres` can be omitted when using external Postgres

# Refer to docs for local LLM setup - https://r2r-docs.sciphi.ai/self-hosting/local-rag
```
Expand Down
1 change: 0 additions & 1 deletion py/sdk/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ async def _handle_response(self, response):
message = response.text
except Exception as e:
message = str(e)
print(e)

raise R2RException(
status_code=response.status_code, message=message
Expand Down
1 change: 0 additions & 1 deletion py/sdk/sync_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def _handle_response(self, response: Response) -> None:
message = response.text
except Exception as e:
message = str(e)
print(e)

raise R2RException(
status_code=response.status_code, message=message
Expand Down

0 comments on commit 30f7fd5

Please sign in to comment.