Skip to content

Commit 97ada39

Browse files
committed
Base url api.diffio.ai
1 parent 0f592fd commit 97ada39

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
* Pull requests should include a concise summary, any relevant issue links, and the exact test command used.
2727
* Include before and after notes when API behavior changes, plus doc updates in `README.md` when needed.
2828

29-
## SDK Documentation Sync
30-
* Whenever you change the SDK, update the website API documentation in `app/components/docs/` to match the new behavior.
31-
* Before finishing any SDK update, use a sub agent to review and apply the documentation updates in `app/components/docs/`, and do not exit until that review is complete.
32-
* Before finishing any SDK update, use a sub agent to review `README.md`, apply any updates needed to match the code, and do not exit until that review is complete.
29+
## Hosted Docs (Required)
30+
* The public, hosted docs live under `app/pages/docs` (routes/pages) and `app/components/docs` (docs content/components).
31+
* Any SDK behavior change MUST be reflected in these hosted docs before finishing.
32+
* Use a subagent to perform the hosted docs updates and review; do not finish the task until the subagent reports back.
33+
* If you only update SDK code without updating `app/pages/docs` + `app/components/docs`, the task is incomplete.
3334

3435
## Configuration and Environment
3536
* Set `DIFFIO_API_KEY` for authenticated requests.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Set the API key with `DIFFIO_API_KEY`. If you need to set the base URL explicitl
2222

2323
```bash
2424
export DIFFIO_API_KEY="diffio_live_..."
25-
export DIFFIO_API_BASE_URL="https://us-central1-diffioai.cloudfunctions.net/v1"
25+
export DIFFIO_API_BASE_URL="https://api.diffio.ai/v1"
2626
```
2727

2828
## Request options

src/diffio/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
WebhookTestEventResponse,
2727
)
2828

29-
DEFAULT_BASE_URL = "https://us-central1-diffioai.cloudfunctions.net"
29+
DEFAULT_BASE_URL = "https://api.diffio.ai"
3030
API_PREFIX = "v1"
3131
MODEL_ENDPOINTS = {
3232
"diffio-2": "diffio-2.0-generation",

0 commit comments

Comments
 (0)