فهرست منبع

Prepare for release

Saoud Rizwan 1 سال پیش
والد
کامیت
62688c261a
3فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 4 0
      CHANGELOG.md
  2. 1 1
      package.json
  3. 1 0
      src/api/providers/anthropic.ts

+ 4 - 0
CHANGELOG.md

@@ -1,5 +1,9 @@
 # Change Log
 
+## [2.0.17]
+
+- Update Anthropic model IDs
+
 ## [2.0.16]
 
 - Adjustments to system prompt

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "claude-dev",
   "displayName": "Cline (prev. 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": "2.0.16",
+  "version": "2.0.17",
   "icon": "assets/icons/icon.png",
   "galleryBanner": {
     "color": "#617A91",

+ 1 - 0
src/api/providers/anthropic.ts

@@ -26,6 +26,7 @@ export class AnthropicHandler implements ApiHandler {
 		let stream: AnthropicStream<Anthropic.Beta.PromptCaching.Messages.RawPromptCachingBetaMessageStreamEvent>
 		const modelId = this.getModel().id
 		switch (modelId) {
+			// 'latest' alias does not support cache_control
 			case "claude-3-5-sonnet-20241022":
 			case "claude-3-opus-20240229":
 			case "claude-3-haiku-20240307": {