File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -653,6 +653,9 @@ the failure is surfaced through `onError` with phase `reconnect`.
653653Subsequent reconnect calls will retry stale inactive-state cleanup until it succeeds.
654654If ` onError ` is omitted, reconnect still returns ` null ` and continues without callback reporting.
655655
656+ ` baseURL ` supports optional path prefixes and trailing slashes; both trigger and stream URLs
657+ are normalized consistently.
658+
656659For richer TypeScript ergonomics in app code, ` @trigger.dev/ai ` also exports:
657660
658661- ` TriggerChatHeadersInput `
Original file line number Diff line number Diff line change 1919- Improved best-effort run-store cleanup to attempt both inactive-state writes and deletes even if one step fails.
2020- Added reconnect cleanup error reporting for stale inactive state while still returning ` null ` .
2121- Added retry semantics for stale inactive reconnect cleanup on subsequent reconnect attempts.
22+ - Added consistent baseURL normalization for trigger and stream endpoints (including path prefixes and trailing slashes).
Original file line number Diff line number Diff line change @@ -155,6 +155,11 @@ both cleanup steps (`set` inactive state and `delete`) even if one of them fails
155155 without surfacing callback events.
156156- Provide a custom ` runStore ` if you need state shared across processes/instances.
157157
158+ ## Base URL behavior
159+
160+ - ` baseURL ` supports optional path prefixes (for example reverse-proxy mounts).
161+ - Trailing slashes are normalized automatically before trigger/stream requests.
162+
158163## ` ai.tool(...) ` example
159164
160165``` ts
You can’t perform that action at this time.
0 commit comments