-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix(copilot): streaming #1023
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
Merged
Merged
fix(copilot): streaming #1023
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b3516ae
Fix 1
Sg312 fcaff4c
Fix
Sg312 91de2e4
Bugfix
Sg312 e9c1748
Make thinking streaming smoother
Sg312 9df2cf9
Better autoscroll, still not great
Sg312 35c42e8
Updates
Sg312 3265c5e
Updates
Sg312 85b0bf3
Updates
Sg312 a7462f2
Restore checkpoitn logic
Sg312 6b2f70f
Fix aborts
Sg312 ae1705b
Checkpoitn ui
Sg312 bb2fbcd
Lint
Sg312 5c2af8d
Fix empty file
Sg312 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...[workflowId]/components/panel/components/copilot/components/user-input/copilot-slider.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| 'use client' | ||
|
|
||
| import * as React from 'react' | ||
| import * as SliderPrimitive from '@radix-ui/react-slider' | ||
| import { cn } from '@/lib/utils' | ||
|
|
||
| export const CopilotSlider = React.forwardRef< | ||
| React.ElementRef<typeof SliderPrimitive.Root>, | ||
| React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> | ||
| >(({ className, ...props }, ref) => ( | ||
| <SliderPrimitive.Root | ||
| ref={ref} | ||
| className={cn( | ||
| 'relative flex w-full cursor-pointer touch-none select-none items-center', | ||
| className | ||
| )} | ||
| {...props} | ||
| > | ||
| <SliderPrimitive.Track className='relative h-2 w-full grow cursor-pointer overflow-hidden rounded-full bg-input'> | ||
| <SliderPrimitive.Range className='absolute h-full bg-primary' /> | ||
| </SliderPrimitive.Track> | ||
| <SliderPrimitive.Thumb className='block h-5 w-5 cursor-pointer rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50' /> | ||
Sg312 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| </SliderPrimitive.Root> | ||
| )) | ||
| CopilotSlider.displayName = 'CopilotSlider' | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.