diff --git a/.github/workflows/auto-assign.yaml b/.github/workflows/auto-assign.yaml index d7e8f9712..284dc7f25 100644 --- a/.github/workflows/auto-assign.yaml +++ b/.github/workflows/auto-assign.yaml @@ -2,7 +2,7 @@ name: Issue assignment on: issues: - types: [ opened ] + types: [opened] jobs: auto-assign: diff --git a/docs/docs/customize/context-providers.md b/docs/docs/customize/context-providers.md index 141567398..53de6e421 100644 --- a/docs/docs/customize/context-providers.md +++ b/docs/docs/customize/context-providers.md @@ -6,7 +6,7 @@ keywords: [context, "@", provider, LLM] Context Providers allow you to type '@' and see a dropdown of content that can all be fed to the LLM as context. Every context provider is a plugin, which means if you want to reference some source of information that you don't see here, you can request (or build!) a new context provider. -As an example, say you are working on solving a new GitHub Issue. You type '@Isse' and select the one you are working on. Continue can now see the issue title and contents. You also know that the issue is related to the files 'readme.md' and 'helloNested.py', so you type '@readme' and '@hello' to find and select them. Now these 3 "Context Items" are displayed inline with the rest of your input. +As an example, say you are working on solving a new GitHub Issue. You type '@Issue' and select the one you are working on. Continue can now see the issue title and contents. You also know that the issue is related to the files 'readme.md' and 'helloNested.py', so you type '@readme' and '@hello' to find and select them. Now these 3 "Context Items" are displayed inline with the rest of your input. ![Context Items](/img/context-provider-example.png) @@ -200,7 +200,7 @@ For example, type "@Google python tutorial" if you want to search and discuss wa Note: You can get an API key for free at [serper.dev](https://serper.dev). -### `@Isse` +### `@Issue` Reference the conversation in a GitHub issue. @@ -451,7 +451,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat { "name": "http", "params": { - "url": "https://api.example.com/v1/users", + "url": "https://api.example.com/v1/users" } } ] @@ -459,6 +459,7 @@ The HttpContextProvider makes a POST request to the url passed in the configurat ``` The receiving URL should expect to receive the following parameters: + ```json title="POST parameters" { query: string, @@ -467,6 +468,7 @@ The receiving URL should expect to receive the following parameters: ``` The response 200 OK should be a JSON object with the following structure: + ```json title="Response" [ { diff --git a/gui/src/components/markdown/CodeBlockToolbar.tsx b/gui/src/components/markdown/CodeBlockToolbar.tsx index d740a8cab..aecaa1b84 100644 --- a/gui/src/components/markdown/CodeBlockToolbar.tsx +++ b/gui/src/components/markdown/CodeBlockToolbar.tsx @@ -245,7 +245,10 @@ function CodeBlockToolBar(props: CodeBlockToolBarProps) { return ( -
+
{getBasename(props.filepath)}
diff --git a/gui/src/components/markdown/PreWithToolbar.tsx b/gui/src/components/markdown/PreWithToolbar.tsx index 3f650740d..ec9297d54 100644 --- a/gui/src/components/markdown/PreWithToolbar.tsx +++ b/gui/src/components/markdown/PreWithToolbar.tsx @@ -2,7 +2,7 @@ import { debounce } from "lodash"; import { useEffect, useState } from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import { defaultBorderRadius } from ".."; +import { defaultBorderRadius, vscEditorBackground } from ".."; import useUIConfig from "../../hooks/useUIConfig"; import { RootState } from "../../redux/store"; import CodeBlockToolBar from "./CodeBlockToolbar"; @@ -12,6 +12,7 @@ const TopDiv = styled.div` outline-offset: -0.5px; border-radius: ${defaultBorderRadius}; margin-bottom: 8px; + background-color: ${vscEditorBackground}; `; function childToText(child: any) {