Elffuss BraidHub

kikocis/continue public

feat: :sparkles: Enable amazon nova pro models
Changeset74e3cd9c68e18ec1ef878306c5bd31cc1683212f87dffbcb569daafffe53ef03
Authorchezsmithy <chezsmithy@me.com> · 2025-07-04 21:24 -07:00
Committerchezsmithy <chezsmithy@me.com> · 2025-07-04 21:24 -07:00
Parentsf840a2b4e8a4

Browse the files at this changeset

3 files changed

modified core/edit/streamDiffLines.ts +5 −1
@@ -55,7 +55,11 @@
5555 }
5656
5757 function modelIsInept(model: string): boolean {
58- return !(model.includes("gpt") || model.includes("claude"));
58+ return !(
59+ model.includes("gpt") ||
60+ model.includes("claude") ||
61+ model.includes("nova")
62+ );
5963 }
6064
6165 export async function* streamDiffLines({
modified core/llm/autodetect.ts +5 −0
@@ -237,6 +237,11 @@
237237 return "none";
238238 }
239239
240+ // Nova Pro requests always sent through Converse API, so formatting not necessary
241+ if (lower.includes("nova")) {
242+ return "none";
243+ }
244+
240245 if (lower.includes("codestral")) {
241246 return "none";
242247 }
modified core/llm/toolSupport.ts +4 −0
@@ -96,6 +96,10 @@
9696 "claude-3.7-sonnet",
9797 "claude-sonnet-4",
9898 "claude-opus-4",
99+ "nova-lite",
100+ "nova-pro",
101+ "nova-micro",
102+ "nova-premier",
99103 ].some((part) => model.toLowerCase().includes(part))
100104 ) {
101105 return true;