Skip to content

Commit

Permalink
fix: emoji img url & models
Browse files Browse the repository at this point in the history
  • Loading branch information
Licoy committed Jan 16, 2024
1 parent 12c897b commit 79cc737
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 58 deletions.
2 changes: 1 addition & 1 deletion app/components/emoji.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import BotIcon from "../icons/bot.svg";
import BlackBotIcon from "../icons/black-bot.svg";

export function getEmojiUrl(unified: string, style: EmojiStyle) {
return `https://cdn.staticfile.org/emoji-datasource-apple/14.0.0/img/${style}/64/${unified}.png`;
return `https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/${style}/64/${unified}.png`;
}

export function AvatarPicker(props: {
Expand Down
26 changes: 1 addition & 25 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,26 +68,10 @@ export const DEFAULT_MODELS = [
name: "gpt-4",
available: true,
},
{
name: "gpt-4-0314",
available: true,
},
{
name: "gpt-4-0613",
available: true,
},
{
name: "gpt-4-32k",
available: true,
},
{
name: "gpt-4-32k-0314",
available: true,
},
{
name: "gpt-4-32k-0613",
available: true,
},
{
name: "gpt-4-1106-preview",
available: true,
Expand All @@ -100,20 +84,12 @@ export const DEFAULT_MODELS = [
name: "gpt-3.5-turbo",
available: true,
},
{
name: "gpt-3.5-turbo-0301",
available: true,
},
{
name: "gpt-3.5-turbo-0613",
available: true,
},
{
name: "gpt-3.5-turbo-16k",
available: true,
},
{
name: "gpt-3.5-turbo-16k-0613",
name: "gpt-3.5-turbo-1106",
available: true,
},
{
Expand Down
37 changes: 5 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 79cc737

Please sign in to comment.