-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat(copilot): add claude opus 4.5 and remove context usage indicator #2113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,6 @@ import { cn } from '@/lib/utils' | |
| import { | ||
| AttachedFilesDisplay, | ||
| ContextPills, | ||
| ContextUsageIndicator, | ||
| MentionMenu, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: import for Prompt To Fix With AIThis is a comment left during a code review.
Path: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/user-input/user-input.tsx
Line: 22:22
Comment:
**style:** import for `ContextUsageIndicator` not removed but component is commented out - clean up unused import
How can I resolve this? If you propose a fix, please make it concise. |
||
| ModelSelector, | ||
| ModeSelector, | ||
|
|
@@ -622,13 +621,13 @@ const UserInput = forwardRef<UserInputRef, UserInputProps>( | |
| </Badge> | ||
|
|
||
| {/* Context Usage Indicator */} | ||
| {contextUsage && contextUsage.percentage > 0 && ( | ||
| {/* {contextUsage && contextUsage.percentage > 0 && ( | ||
| <ContextUsageIndicator | ||
| percentage={contextUsage.percentage} | ||
| size={18} | ||
| strokeWidth={2.5} | ||
| /> | ||
| )} | ||
| )} */} | ||
|
|
||
| {/* Selected Context Pills */} | ||
| <ContextPills | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -84,6 +84,7 @@ export interface SendMessageRequest { | |||||
| | 'claude-4-sonnet' | ||||||
| | 'claude-4.5-haiku' | ||||||
| | 'claude-4.5-sonnet' | ||||||
| | 'claude-4.5-opus' | ||||||
| | 'claude-4.1-opus' | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. logic:
Suggested change
Prompt To Fix With AIThis is a comment left during a code review.
Path: apps/sim/lib/copilot/api.ts
Line: 88:88
Comment:
**logic:** `claude-4.1-opus` still present in type definition but commented out elsewhere - remove for consistency
```suggestion
| 'claude-4.5-opus'
```
How can I resolve this? If you propose a fix, please make it concise. |
||||||
| prefetch?: boolean | ||||||
| createNewChat?: boolean | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -78,6 +78,7 @@ export interface CopilotState { | |||||
| | 'claude-4-sonnet' | ||||||
| | 'claude-4.5-haiku' | ||||||
| | 'claude-4.5-sonnet' | ||||||
| | 'claude-4.5-opus' | ||||||
| | 'claude-4.1-opus' | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. logic:
Suggested change
Prompt To Fix With AIThis is a comment left during a code review.
Path: apps/sim/stores/panel/copilot/types.ts
Line: 82:82
Comment:
**logic:** `claude-4.1-opus` still present in type definition but commented out elsewhere - remove for consistency
```suggestion
| 'claude-4.5-opus'
```
How can I resolve this? If you propose a fix, please make it concise. |
||||||
| agentPrefetch: boolean | ||||||
| enabledModels: string[] | null // Null means not loaded yet, array of model IDs when loaded | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic:
claude-4.1-opusstill present in validation schema but commented out elsewhere - should be removed here too for consistencyPrompt To Fix With AI