Merge pull request #5422 from continuedev/nate/morph-docs

adjustments
This commit is contained in:
Nate Sesti 2025-04-29 10:19:05 -07:00 • committed by GitHub
commit 8ed59cfbc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 28 deletions

View file

@ -9,16 +9,9 @@ Morph provides a fast apply model that helps you quickly and accurately apply co
<TabItem value="yaml" label="YAML">
```yaml title="config.yaml"
models:
- name: Morph Fast Apply
provider: openai
model: morph-v0
apiKey: <YOUR_MORPH_API_KEY>
apiBase: https://api.morphllm.com/v1/
roles:
- apply
- chat
promptTemplates:
apply: "<code>{{{ original_code }}}</code>\n<update>{{{ new_code }}}</update>"
- uses: morphllm/morph-v0
with:
MORPH_API_KEY: ${{ secrets.MORPH_API_KEY }}
```
</TabItem>
<TabItem value="json" label="JSON">
@ -41,4 +34,3 @@ Morph provides a fast apply model that helps you quickly and accurately apply co
```
</TabItem>
</Tabs>

View file

@ -2,7 +2,7 @@ When editing code, Chat and Edit model output often doesn't clearly align with e
## Recommended Apply models
We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply model](https://hub.continue.dev/relace/instant-apply) for the fastest Apply experience. You can sign up for Morph's generous free tier [here](https://morphllm.com/dashboard) or get a Relace API key [here](https://app.relace.ai/settings/api-keys).
We recommend [Morph Fast Apply](https://morphllm.com) or [Relace's Instant Apply model](https://hub.continue.dev/relace/instant-apply) for the fastest Apply experience. You can sign up for Morph's free tier [here](https://morphllm.com/dashboard) or get a Relace API key [here](https://app.relace.ai/settings/api-keys).
However, most Chat models can also be used for applying code changes. We recommend smaller/cheaper models for the task, such as Claude 3.5 Haiku.
@ -33,19 +33,3 @@ models:
Please generate the final code without any markers or explanations.
```
### Morph Fast Apply Configuration
```yaml
models:
- name: Morph Fast Apply
provider: openai
model: morph-v0
apiKey: sk-test-123
apiBase: https://api.morphllm.com/v1/
roles:
- apply
- chat
promptTemplates:
apply: "<code>{{{ original_code }}}</code>\n<update>{{{ new_code }}}</update>"
```