File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -682,6 +682,11 @@ Validation errors use these exact messages:
682682When multiple issues are present, validation order is deterministic:
683683protocol → query/hash → credentials.
684684
685+ Examples of ordering:
686+
687+ - ` ftp://example.com?x=1 ` → ` baseURL must use http or https protocol `
688+ - ` https://user:pass@example.com?x=1 ` → ` baseURL must not include query parameters or hash fragments `
689+
685690For richer TypeScript ergonomics in app code, ` @trigger.dev/ai ` also exports:
686691
687692- ` TriggerChatHeadersInput `
Original file line number Diff line number Diff line change @@ -189,6 +189,11 @@ Validation errors use these exact messages:
189189When multiple issues are present, validation order is deterministic:
190190protocol → query/hash → credentials.
191191
192+ Examples of ordering:
193+
194+ - ` ftp://example.com?x=1 ` → ` baseURL must use http or https protocol `
195+ - ` https://user:pass@example.com?x=1 ` → ` baseURL must not include query parameters or hash fragments `
196+
192197## ` ai.tool(...) ` example
193198
194199``` ts
You can’t perform that action at this time.
0 commit comments