Skip to content

Commit 888c429

Browse files
committed
Remove context caching and token details from frontend notices
1 parent c3c0398 commit 888c429

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

  • apps/editor/src/views/settings/frontend/Home

‎apps/editor/src/views/settings/frontend/Home/Home.tsx‎

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -453,19 +453,7 @@ export const Home: React.FC<Props> = (props) => {
453453
>
454454
<Notice type="info">
455455
A request includes the selected files, edit format instructions, and
456-
your prompt. For{' '}
457-
<a
458-
href="#"
459-
onClick={(e) => {
460-
e.preventDefault()
461-
props.on_open_external_url(
462-
'https://ai.google.dev/gemini-api/docs/caching'
463-
)
464-
}}
465-
>
466-
context caching
467-
</a>{' '}
468-
efficiency, recently checked/modified files are placed at the end.
456+
your prompt.
469457
</Notice>
470458
{props.edit_context_configs.length == 0 && (
471459
<Notice type="warning">
@@ -588,8 +576,7 @@ export const Home: React.FC<Props> = (props) => {
588576
}
589577
>
590578
<Notice type="info">
591-
A request includes the selected files in a compacted form (~60% less
592-
tokens).
579+
A request includes the selected files in a compacted form.
593580
</Notice>
594581
{props.prune_context_configs.length == 0 && (
595582
<Notice type="warning">
@@ -700,7 +687,7 @@ export const Home: React.FC<Props> = (props) => {
700687
>
701688
audio understanding
702689
</a>
703-
. Gemini, for example, consumes 32 tokens per second.
690+
.
704691
</Notice>
705692
{props.voice_input_configs.length == 0 && (
706693
<Notice type="warning">

0 commit comments

Comments
 (0)