Skip to content

Commit 3d2ac1d

Browse files
committed
Update README copy and improve progress UI and fallback prompt for Intelligent Update
1 parent 7c369f2 commit 3d2ac1d

3 files changed

Lines changed: 17 additions & 12 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
<a href="https://marketplace.visualstudio.com/items?itemName=robertpiosik.gemini-coder"><img src="https://img.shields.io/badge/Install-VS_Code_Marketplace-blue" alt="Get from Visual Studio Code Marketplace" /></a> <a href="https://open-vsx.org/extension/robertpiosik/gemini-coder"><img src="https://img.shields.io/badge/Install-Open_VSX_Registry-a60ee5" alt="Get from Open VSX Registry" /></a> <a href="https://github.com/robertpiosik/CodeWebChat/blob/dev/LICENSE"><img src="https://img.shields.io/badge/License-GPL--3.0-green.svg" alt="GPL-3.0 license" /></a>
1212
</p>
1313

14-
Code Web Chat (CWC) is a free and open-source, independent AI coding toolkit for VS Code. Helps you quickly solve coding problems using [projects](https://help.openai.com/en/articles/10169521-projects-in-chatgpt) (also called [gems](https://gemini.google/pl/overview/gems) or [spaces](https://docs.github.com/en/copilot/concepts/context/spaces)) in free chatbots!
14+
Code Web Chat (CWC) is a free and open-source, independent AI coding toolkit for VS Code. Start using [projects](https://help.openai.com/en/articles/10169521-projects-in-chatgpt) (also called [gems](https://gemini.google/pl/overview/gems) or [spaces](https://docs.github.com/en/copilot/concepts/context/spaces)) in free chatbots and finish your next task in seconds!
1515

16-
💅 **Apply responses**—multi-file edits integration with automatic checkpoints \
17-
🌱 **Sustainable**—first-class support for [context caching](https://ai.google.dev/gemini-api/docs/caching) across tasks \
18-
✋ **Privacy-first**—local processing, zero telemetry [privacy policy](https://github.com/robertpiosik/CodeWebChat/blob/dev/PRIVACY.md)
16+
💅 **Apply responses**—edits integration with automatic checkpoints \
17+
🌱 **Sustainable**—optimized for [context caching](https://ai.google.dev/gemini-api/docs/caching) across tasks \
18+
✋ **Privacy-first**—local processing, zero telemetry
1919

2020
<p>
2121
<img src="https://github.com/robertpiosik/CodeWebChat/raw/HEAD/packages/shared/src/media/screenshot.png" alt="Screenshot" />
2222
</p>
2323

24-
## Enabling autofill in chatbots
24+
## Autofill chatbots
2525

26-
Got tired with copy and paste? Simplify the workflow with the browser extension:
26+
Got tired with copy and paste? Enable prompt autofill in your favorite chatbot!
2727

2828
- [Chrome Web Store](https://chromewebstore.google.com/detail/code-web-chat-connector/ljookipcanaglfaocjbgdicfbdhhjffp)
2929
- [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/code-web-chat-connector/)
@@ -56,9 +56,9 @@ Got tired with copy and paste? Simplify the workflow with the browser extension:
5656
> [!NOTE]
5757
> Use [forwarding](https://code.visualstudio.com/docs/debugtest/port-forwarding) of port _55155_ when using remote machine via SSH.
5858
59-
## API tools
59+
## Make API calls
6060

61-
Bring your own key (BYOK) for a model provider of choice and complete common tasks without leaving the editor.
61+
Bring your own key (BYOK) for a model provider of choice to use many of the built-in API tools.
6262

6363
**🛠️ Edit Context** \
6464
Pair-programming using natural language instructions.

‎apps/editor/src/commands/apply-chat-response-command/handlers/active-editor-intelligent-update-handler.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ export const handle_active_editor_intelligent_update = async (params: {
138138
params.panel_provider.send_message({
139139
command: 'SHOW_PROGRESS',
140140
title: 'Receiving...',
141+
show_elapsed_time: true,
142+
cancellable: true,
141143
tokens_per_second,
142144
progress
143145
})

‎apps/editor/src/commands/apply-chat-response-command/response-processor.ts‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,15 @@ export const process_chat_response = async (
407407
const editor = vscode.window.activeTextEditor
408408
if (editor) {
409409
const choice = await vscode.window.showWarningMessage(
410-
'No valid code blocks found in the clipboard text. Apply found text to the active editor with the Intelligent Update API tool?',
411-
{ modal: true },
412-
'Apply'
410+
'No valid code blocks found',
411+
{
412+
modal: true,
413+
detail: 'Apply the clipboard text to the active editor?'
414+
},
415+
'Apply with Intelligent Update'
413416
)
414417

415-
if (choice == 'Apply') {
418+
if (choice == 'Apply with Intelligent Update') {
416419
const document = editor.document
417420
const file_path_for_block = vscode.workspace
418421
.asRelativePath(document.uri, !is_single_root_folder_workspace)

0 commit comments

Comments
 (0)