Skip to content

Commit

Permalink
Fix template configuration docs (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzaback authored Nov 20, 2023
1 parent 2c9c527 commit 8a5f1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/customization/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ It can then be used like this:

```python title="~/.continue/config.py"
def modify_config(config: ContinueConfig) -> ContinueConfig:
config.models[0].template_messages = template_alpaca_messages
config.models.default.template_messages = template_alpaca_messages
return config
```

Expand Down Expand Up @@ -150,7 +150,7 @@ It can then be used like this in `config.py`:

```python title="~/.continue/config.py"
def modify_config(config: ContinueConfig) -> ContinueConfig:
config.models[0].prompt_templates["edit"] = "<INSERT_TEMPLATE_HERE>"
config.models.edit.prompt_templates["edit"] = "<INSERT_TEMPLATE_HERE>"
return config
```

Expand Down

0 comments on commit 8a5f1ea

Please sign in to comment.