File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -670,6 +670,14 @@ Examples:
670670- ❌ ` ftp://api.trigger.dev `
671671- ❌ ` ws://api.trigger.dev ` / ` wss://api.trigger.dev `
672672
673+ Validation errors use these exact messages:
674+
675+ - ` baseURL must not be empty `
676+ - ` baseURL must be a valid absolute URL `
677+ - ` baseURL must use http or https protocol `
678+ - ` baseURL must not include query parameters or hash fragments `
679+ - ` baseURL must not include username or password credentials `
680+
673681For richer TypeScript ergonomics in app code, ` @trigger.dev/ai ` also exports:
674682
675683- ` TriggerChatHeadersInput `
Original file line number Diff line number Diff line change @@ -177,6 +177,14 @@ Examples:
177177- ❌ ` ftp://api.trigger.dev ` (non-http protocol)
178178- ❌ ` ws://api.trigger.dev ` / ` wss://api.trigger.dev ` (websocket protocols are rejected)
179179
180+ Validation errors use these exact messages:
181+
182+ - ` baseURL must not be empty `
183+ - ` baseURL must be a valid absolute URL `
184+ - ` baseURL must use http or https protocol `
185+ - ` baseURL must not include query parameters or hash fragments `
186+ - ` baseURL must not include username or password credentials `
187+
180188## ` ai.tool(...) ` example
181189
182190``` ts
You can’t perform that action at this time.
0 commit comments