diff --git a/docs/docs/hub/blocks/bundles.md b/docs/docs/hub/blocks/bundles.md index a91f18d68..4a95a8276 100644 --- a/docs/docs/hub/blocks/bundles.md +++ b/docs/docs/hub/blocks/bundles.md @@ -11,23 +11,29 @@ Bundles are collections of blocks that are commonly used together. You can use t ## Use a bundle -Once you know which block you want to use, you’ll need to +Once you know which bundle you want to use, you’ll need to 1. Make sure the correct assistant is in the sidebar -2. Click “Add bundle on its page -3. Add any required inputs (e.g. secrets) +2. Click “Add bundle from the bundle page. This adds the individual blocks to your assistant. +3. Add any required inputs (e.g. secrets) for each block. 4. Select “Save” in assistant sidebar on the right hand side -[SCREENSHOT OF BLOCK READY TO BE SAVED] - -After this, you can then go to your IDE extension using the "Open VS Code" or "Open Jetbrains" button and begin using the new blocks. - -[SCREENSHOT OF VS CODE WITH BLOCK READY TO BE USED IN TOGGLE] +After this, you can then go to your IDE extension using the "Open VS Code" or "Open Jetbrains" buttons and begin using the new blocks. ## Create a bundle -To create a bundle, click “New bundle” in the top bar. +To create a bundle, click “New bundle” in the header. -For values that the user of the block needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`, where API_KEY will be set by the user from the `with` clause in their assistant. +![New bundle button](/img/hub/bundle-new-button.png) -It’s not currently possible to remix a bundle. +Choose a name, slug, description, and visibility for your bundle. + +Then, search blocks using the "Search Blocks" input and add them to your bundle. + +![Create bundle page](/img/hub/bundle-create-page.png) + +Once you have added all the blocks you want in your bundle, click "Create Bundle" to save it and make it available for use. + +## Remix a bundle + +It is not currently possible to remix a bundle. diff --git a/docs/docs/hub/blocks/create-a-block.md b/docs/docs/hub/blocks/create-a-block.md index 8f398c28c..ea43424b2 100644 --- a/docs/docs/hub/blocks/create-a-block.md +++ b/docs/docs/hub/blocks/create-a-block.md @@ -13,11 +13,12 @@ You should remix a block if you want to use it after some modifications. By clicking the “remix” button, you’ll be taken to the “Create a remix” page. -Once here, you’ll be able to -Edit YAML configuration for the block -Change name, description, icon, etc. +![Remix block button](/img/hub/block-remix-button.png) -[SCREENSHOT OF REMIX BLOCK PAGE] +Once here, you’ll be able to + +1. Edit YAML configuration for the block +2. Change name, description, icon, etc. Clicking “Create block” will make this assistant available for use @@ -25,6 +26,12 @@ Clicking “Create block” will make this assistant available for use To create a block from scratch, you will need to click “New block” in the top bar. -After filling out information on the block, you will want to create a block following the config.yaml reference documentation. +![New block button](/img/hub/block-new-button.png) -For values that the user of the block needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`, where API_KEY will be set by the user from the `with` clause in their assistant. +After filling out information on the block, you will want to create a block following the `config.yaml` [reference documentation](../../yaml-reference.md). + +![New block page](/img/hub/block-new-page.png) + +### Block inputs + +Blocks can receive values, including secrets, as inputs through templating. For values that the user of the block needs to set, you can use template variables, e.g., `${{ inputs.API_KEY}}`. Then, the user can set e.g. `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause in their assistant. diff --git a/docs/docs/hub/blocks/use-a-block.md b/docs/docs/hub/blocks/use-a-block.md index f4e2e6cc8..cd05f0899 100644 --- a/docs/docs/hub/blocks/use-a-block.md +++ b/docs/docs/hub/blocks/use-a-block.md @@ -6,15 +6,11 @@ keywords: [blocks, usage, use] # Use a Block -Once you know which block you want to use, you’ll need to +Blocks can be used by adding the to assistants. See -1. Make sure the correct assistant is selected in the assistant sidebar -2. Click “Add block” on its page -3. Add any required inputs (e.g. secrets) -4. Select “Save” in the assistant sidebar +- [Create an assistant](../assistants/create-an-assistant.md) +- [Edit an assistant](../assistants/edit-an-assistant.md) -[SCREENSHOT OF BLOCK READY TO BE SAVED] +Some blocks require inputs. If you are missing an input for a block, a notification icon will show in the sidebar next to the block. Click the notification to select which secret to use for the block input. -After this, you can then go to your IDE extension and begin using this block. - -[SCREENSHOT OF VS CODE WITH BLOCK READY TO BE USED IN TOGGLE] +![Block inputs](/img/hub/block-inputs.png) diff --git a/docs/docs/hub/governance/models-add-on.md b/docs/docs/hub/governance/models-add-on.md index 249ee70fb..5d1858655 100644 --- a/docs/docs/hub/governance/models-add-on.md +++ b/docs/docs/hub/governance/models-add-on.md @@ -6,14 +6,11 @@ keywords: [governance, models, add-on] # Models Add-On -The models add-on allows you to use a variety of frontier models for a flat monthly fee. It’s designed to cover the usage of most developers. +The Models Add-On allows you to use a variety of frontier models for a flat monthly fee. It’s designed to cover the usage of most developers. See the [**pricing page**](https://hub.continue.dev/pricing) for information on pricing and usage limits. -You can use the following Chat / Edit / Apply official model blocks (up to 500 requests): Claude Sonnet 3.5 from Anthropic, [ADD ALL MODEL BLOCKS AND LINK] +Currently, the following models are included in the Models Add-On: -You can use the following Autocomplete official model blocks (up to 10,000 requests): Codestral from Mistral, [ADD ALL MODEL BLOCKS AND LINK] - - - -You can use the following Embeddings / Rerank (regular Continue usage): Voyage AI, [ADD ALL MODEL BLOCKS AND LINK] - -[**View pricing here**](https://hub.continue.dev/pricing) +- [Anthropic Claude Sonnet 3.5](https://hub.continue.dev/anthropic/claude-3-5-sonnet) for Chat, Edit, and Apply +- [Mistral Codestral](https://hub.continue.dev/mistral/codestral) for Autocomplete +- [Voyage AI Code 3](https://hub.continue.dev/voyageai/voyage-code-3) for Embedding +- [Voyage AI Rerank 2](https://hub.continue.dev/voyageai/rerank-2) for Reranking diff --git a/docs/static/img/hub/block-inputs.png b/docs/static/img/hub/block-inputs.png new file mode 100644 index 000000000..9af87002c Binary files /dev/null and b/docs/static/img/hub/block-inputs.png differ diff --git a/docs/static/img/hub/block-new-button.png b/docs/static/img/hub/block-new-button.png new file mode 100644 index 000000000..456db04a9 Binary files /dev/null and b/docs/static/img/hub/block-new-button.png differ diff --git a/docs/static/img/hub/block-new-page.png b/docs/static/img/hub/block-new-page.png new file mode 100644 index 000000000..9addc9238 Binary files /dev/null and b/docs/static/img/hub/block-new-page.png differ diff --git a/docs/static/img/hub/block-remix-button.png b/docs/static/img/hub/block-remix-button.png new file mode 100644 index 000000000..16a682e9d Binary files /dev/null and b/docs/static/img/hub/block-remix-button.png differ diff --git a/docs/static/img/hub/bundle-create-page.png b/docs/static/img/hub/bundle-create-page.png new file mode 100644 index 000000000..693070326 Binary files /dev/null and b/docs/static/img/hub/bundle-create-page.png differ diff --git a/docs/static/img/hub/bundle-new-button.png b/docs/static/img/hub/bundle-new-button.png new file mode 100644 index 000000000..60ccc23d6 Binary files /dev/null and b/docs/static/img/hub/bundle-new-button.png differ