diff --git a/python/examples/model-change.metaprompt b/python/examples/model-change.metaprompt new file mode 100644 index 0000000..0756d0d --- /dev/null +++ b/python/examples/model-change.metaprompt @@ -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. diff --git a/python/examples/whoami.metaprompt b/python/examples/whoami.metaprompt new file mode 100644 index 0000000..b8779f1 --- /dev/null +++ b/python/examples/whoami.metaprompt @@ -0,0 +1 @@ +[:MODEL] \ No newline at end of file