Skip to content

Commit

Permalink
Anthropic: more precise usage link to show the token usage. Fixes #524
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed May 7, 2024
1 parent 3b5ab0a commit 88762db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function AnthropicSourceSetup(props: { sourceId: DModelSourceId }) {
rightLabel={<>{needsUserKey
? !anthropicKey && <Link level='body-sm' href='https://www.anthropic.com/earlyaccess' target='_blank'>request Key</Link>
: '✔️ already set in server'
} {anthropicKey && keyValid && <Link level='body-sm' href='https://console.anthropic.com/' target='_blank'>check usage</Link>}
} {anthropicKey && keyValid && <Link level='body-sm' href='https://console.anthropic.com/settings/usage' target='_blank'>show tokens usage</Link>}
</>}
value={anthropicKey} onChange={value => updateSetup({ anthropicKey: value })}
required={needsUserKey} isError={keyError}
Expand Down

0 comments on commit 88762db

Please sign in to comment.