Skip to content

Commit

Permalink
Copilot plus beta (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
logancyang authored Jan 16, 2025
1 parent acae1cd commit d307981
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/chat-components/ChatControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const ChatControls: React.FC<ChatControlsProps> = ({
<DropdownMenu.Trigger className="chain-select-button">
{selectedChain === ChainType.LLM_CHAIN && "chat"}
{selectedChain === ChainType.VAULT_QA_CHAIN && "vault QA (basic)"}
{selectedChain === ChainType.COPILOT_PLUS_CHAIN && "copilot plus"}
{selectedChain === ChainType.COPILOT_PLUS_CHAIN && "copilot plus (beta)"}
<ChevronDown size={10} />
</DropdownMenu.Trigger>

Expand All @@ -157,7 +157,7 @@ const ChatControls: React.FC<ChatControlsProps> = ({
<DropdownMenu.Item
onSelect={() => handleChainChange({ value: ChainType.COPILOT_PLUS_CHAIN })}
>
copilot plus
copilot plus (beta)
</DropdownMenu.Item>
</DropdownMenu.Content>
</DropdownMenu.Portal>
Expand Down
2 changes: 1 addition & 1 deletion src/components/chat-components/ChatSingleMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const ChatSingleMessage: React.FC<ChatSingleMessageProps> = ({
};

return (
<div className="flex flex-col w-full mb-1">
<div className="flex flex-col w-full my-1">
<div
className={cn(
"flex rounded-md p-2 mx-2 gap-2",
Expand Down
4 changes: 2 additions & 2 deletions src/settings/v2/components/BasicSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import ApiKeyDialog from "./ApiKeyDialog";
const ChainType2Label: Record<ChainType, string> = {
[ChainType.LLM_CHAIN]: "Chat",
[ChainType.VAULT_QA_CHAIN]: "Vault QA (Basic)",
[ChainType.COPILOT_PLUS_CHAIN]: "Copilot Plus",
[ChainType.COPILOT_PLUS_CHAIN]: "Copilot Plus (beta)",
};

interface BasicSettingsProps {
Expand Down Expand Up @@ -53,7 +53,7 @@ const BasicSettings: React.FC<BasicSettingsProps> = ({ indexVaultToVectorStore }
return (
<div className="space-y-4">
<section>
<div className="text-2xl font-bold mb-3">Copilot Plus</div>
<div className="text-2xl font-bold mb-3">Copilot Plus (beta)</div>
<div className="space-y-4">
{/* copilot-plus */}
<SettingItem
Expand Down

0 comments on commit d307981

Please sign in to comment.