-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' of github.com:Scale3-Labs/langtrace into d…
…evelopment
- Loading branch information
Showing
12 changed files
with
714 additions
and
352 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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,36 @@ | ||
import { | ||
DropdownMenu, | ||
DropdownMenuContent, | ||
DropdownMenuTrigger, | ||
} from "@/components/ui/dropdown-menu"; | ||
import { cn } from "@/lib/utils"; | ||
import { DotsHorizontalIcon } from "@radix-ui/react-icons"; | ||
import { Button } from "../ui/button"; | ||
import ImportPrompt from "./import-prompt"; | ||
import ImportTraceConversation from "./import-trace-conversation"; | ||
|
||
export default function ImportMessages({ | ||
setMessages, | ||
className = "", | ||
}: { | ||
setMessages: any; | ||
className?: string; | ||
}) { | ||
return ( | ||
<DropdownMenu> | ||
<DropdownMenuTrigger asChild> | ||
<Button | ||
variant="outline" | ||
size={"icon"} | ||
className={cn(className, "bg-muted")} | ||
> | ||
<DotsHorizontalIcon /> | ||
</Button> | ||
</DropdownMenuTrigger> | ||
<DropdownMenuContent className="w-full flex flex-col gap-1"> | ||
<ImportTraceConversation setMessages={setMessages} /> | ||
<ImportPrompt setMessages={setMessages} /> | ||
</DropdownMenuContent> | ||
</DropdownMenu> | ||
); | ||
} |
Oops, something went wrong.