Skip to content

Commit bbce100

Browse files
committed
docs: remove stale prompt type utility example
1 parent 93465d8 commit bbce100

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎docs/ai/prompts.mdx‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,3 @@ When you use `toAISDKTelemetry()`, AI generation spans in the run trace get a cu
416416
- **Tools** — tool definitions and tool call details
417417
- **Prompt** — the linked prompt's metadata, input variables, and template content
418418

419-
## Type utilities
420-
421-
```ts
422-
import type { PromptHandle, PromptIdentifier, PromptVariables } from "@trigger.dev/sdk";
423-
424-
type Id = PromptIdentifier<typeof supportPrompt>; // "customer-support"
425-
type Vars = PromptVariables<typeof supportPrompt>; // { customerName: string; plan: string; issue: string }
426-
```

0 commit comments

Comments
 (0)