diff --git a/docs/docs/customize/model-providers/more/morph.mdx b/docs/docs/customize/model-providers/more/morph.mdx index 2175e8fd0..710fcccd5 100644 --- a/docs/docs/customize/model-providers/more/morph.mdx +++ b/docs/docs/customize/model-providers/more/morph.mdx @@ -9,16 +9,9 @@ Morph provides a fast apply model that helps you quickly and accurately apply co ```yaml title="config.yaml" models: - - name: Morph Fast Apply - provider: openai - model: morph-v0 - apiKey: - apiBase: https://api.morphllm.com/v1/ - roles: - - apply - - chat - promptTemplates: - apply: "{{{ original_code }}}\n{{{ new_code }}}" + - uses: morphllm/morph-v0 + with: + MORPH_API_KEY: ${{ secrets.MORPH_API_KEY }} ``` @@ -41,4 +34,3 @@ Morph provides a fast apply model that helps you quickly and accurately apply co ``` - diff --git a/docs/docs/customize/model-roles/apply.mdx b/docs/docs/customize/model-roles/apply.mdx index 883353a01..6cce4acbc 100644 --- a/docs/docs/customize/model-roles/apply.mdx +++ b/docs/docs/customize/model-roles/apply.mdx @@ -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: "{{{ original_code }}}\n{{{ new_code }}}" -```