Fix template configuration docs (#638)

This commit is contained in:
Peter Zaback 2023-11-20 13:36:28 -06:00 • committed by GitHub
parent 2c9c527833
commit 8a5f1eabc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
```
@ -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
```