Skip to content

Commit f6fe7b8

Browse files
committed
use new config format for llm routing quick start guide
1 parent 9366070 commit f6fe7b8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/source/get_started/quickstart.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -220,40 +220,40 @@ Use Plano as a Model Proxy (Gateway)
220220
Step 1. Create plano config file
221221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222222

223-
Plano operates based on a configuration file where you can define LLM providers, prompt targets, guardrails, etc. Below is an example configuration that defines OpenAI and Mistral LLM providers.
223+
Plano operates based on a configuration file where you can define LLM providers, prompt targets, guardrails, etc. Below is an example configuration that defines OpenAI and Anthropic LLM providers.
224224

225225
Create ``plano_config.yaml`` file with the following content:
226226

227227
.. code-block:: yaml
228228
229-
version: v0.1.0
229+
version: v0.3.0
230230
231231
listeners:
232-
egress_traffic:
232+
- type: model
233+
name: model_1
233234
address: 0.0.0.0
234235
port: 12000
235-
message_format: openai
236-
timeout: 30s
237236
238-
model_providers:
239-
- access_key: $OPENAI_API_KEY
240-
model: openai/gpt-4o
241-
default: true
237+
model_providers:
238+
239+
- access_key: $OPENAI_API_KEY
240+
model: openai/gpt-4o
241+
default: true
242242
243-
- access_key: $MISTRAL_API_KEY
244-
model: mistralministral-3b-latest
243+
- access_key: $ANTHROPIC_API_KEY
244+
model: anthropic/claude-sonnet-4-5
245245
246246
Step 2. Start plano
247247
~~~~~~~~~~~~~~~~~~~
248248

249-
Once the config file is created, ensure that you have environment variables set up for ``MISTRAL_API_KEY`` and ``OPENAI_API_KEY`` (or these are defined in a ``.env`` file).
249+
Once the config file is created, ensure that you have environment variables set up for ``ANTHROPIC_API_KEY`` and ``OPENAI_API_KEY`` (or these are defined in a ``.env`` file).
250250

251251
Start Plano:
252252

253253
.. code-block:: console
254254
255255
$ planoai up plano_config.yaml
256-
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.1.5
256+
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.4.0
257257
2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful!
258258
2024-12-05 11:24:51,825 - cli.main - INFO - Starting plano
259259
...

0 commit comments

Comments
 (0)