Browse Source

Minor fixes

Saoud Rizwan 1 year ago
parent
commit
e95bebacda
3 changed files with 4 additions and 4 deletions
  1. 1 1
      package.json
  2. 1 1
      src/utils/context-management.ts
  3. 2 2
      webview-ui/src/components/ChatView.tsx

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "claude-dev",
   "displayName": "Claude Dev",
   "description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
-  "version": "1.4.13",
+  "version": "1.4.14",
   "icon": "icon.png",
   "engines": {
     "vscode": "^1.84.0"

+ 1 - 1
src/utils/context-management.ts

@@ -59,7 +59,7 @@ export function slidingWindowContextManagement(
 										? { type: "text", text: "(image removed due to context limits)" }
 										: contentItem
 							  )
-							: "",
+							: "(truncated due to context limits)",
 					} as Anthropic.Messages.ToolResultBlockParam
 				}
 				return item

+ 2 - 2
webview-ui/src/components/ChatView.tsx

@@ -676,14 +676,14 @@ const ChatView = ({
 						style={{ marginRight: "2px" }}>
 						<span
 							className="codicon codicon-device-camera"
-							style={{ fontSize: 18, marginLeft: -2, marginTop: -3 }}></span>
+							style={{ fontSize: 18.5, marginLeft: -2, marginBottom: 0.5 }}></span>
 					</VSCodeButton>
 					<VSCodeButton
 						disabled={textAreaDisabled}
 						appearance="icon"
 						aria-label="Send Message"
 						onClick={handleSendMessage}>
-						<span className="codicon codicon-send" style={{ fontSize: 16, marginTop: 2 }}></span>
+						<span className="codicon codicon-send" style={{ fontSize: 16.5, marginTop: 2 }}></span>
 					</VSCodeButton>
 				</div>
 			</div>