We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd7bb3 commit c25c2f1Copy full SHA for c25c2f1
src/api/providers/gemini.ts
@@ -57,7 +57,7 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl
57
let cacheWriteTokens: number | undefined = undefined
58
59
// The minimum input token count for context caching is 4,096.
60
- // For a basic appoximation we assume 4 characters per token.
+ // For a basic approximation we assume 4 characters per token.
61
// We can use tiktoken eventually to get a more accurat token count.
62
// https://ai.google.dev/gemini-api/docs/caching?lang=node
63
// https://ai.google.dev/gemini-api/docs/tokens?lang=node
0 commit comments