Skip to content

Commit

Permalink
Add examples for [:MODEL]
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Nov 12, 2024
1 parent 5a633e2 commit 626199b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/examples/model-change.metaprompt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1. I am [:use ./whoami] - default
2. I am [:use ./whoami :MODEL=gpt-4o] - override MODEL in a submodule
3. I am [:use ./whoami] - the model hasn't changed
4. I am [:MODEL=gpt-4o][:use ./whoami] - change current model in this module
5. I am [:use ./whoami] - the model stays the same until the end of the file.
1 change: 1 addition & 0 deletions python/examples/whoami.metaprompt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[:MODEL]

0 comments on commit 626199b

Please sign in to comment.