Skip to content

Commit

Permalink
Prompt updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ddebowczyk committed Nov 1, 2024
1 parent 70e5766 commit 948762a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/prompts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ For more flexible template loading, you can load templates by name or use a 'DSN

```php
<?php
// Load a template by name using default library (set in /config/prompt.php)
// Load a template by name using specified library 'demo-blade'
$prompt = Prompt::using('demo-blade')->withTemplate('hello');
echo $prompt->template();

Expand Down

0 comments on commit 948762a

Please sign in to comment.