Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 079e09a

Browse files
committed
add new models
1 parent 3441012 commit 079e09a

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

src/components/MyTokens/index.tsx

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,45 @@ export default function MyTokens() {
131131
))}
132132
</Group>
133133

134+
135+
<Text color='dimmed'>
136+
{
137+
'To access Fireworks.ai models:'
138+
}
139+
</Text>
140+
141+
<Group mb="md">
142+
<Text fw='bold'>{'API Host'}</Text>
143+
<Code>{`${apiHost}/api/openai/v1`}</Code>
144+
<CopyButton value={`${apiHost}/api/openai/v1`}>
145+
{({ copied, copy }) => (
146+
<Tooltip
147+
label={copied ? 'Copied' : 'Copy'}
148+
withArrow
149+
position='right'
150+
>
151+
<ActionIcon
152+
color={copied ? 'blue' : 'gray'}
153+
onClick={copy}
154+
variant='light'
155+
>
156+
{copied ? (
157+
<HiOutlineCheck size='1rem' />
158+
) : (
159+
<HiOutlineClipboardDocument size='1rem' />
160+
)}
161+
</ActionIcon>
162+
</Tooltip>
163+
)}
164+
</CopyButton>
165+
</Group>
166+
<Group mb="md">
167+
<Text fw='bold'>{'Models'}</Text>
168+
{['accounts/fireworks/models/deepseek-r1', 'accounts/fireworks/models/deepseek-v3', 'accounts/fireworks/models/deepseek-v2p5', 'accounts/fireworks/models/qwen2p5-coder-32b-instruct', 'accounts/yi-01-ai/models/yi-large'].map((deploymentName) => (
169+
<Code key={deploymentName}>{deploymentName}</Code>
170+
))}
171+
</Group>
172+
134173
<Text fw='bold'>{'API Keys'}</Text>
135174
<TokensTable tokens={data || {}} onDelete={handleRevokeKey} />
136175

0 commit comments

Comments
 (0)