Skip to content

Commit

Permalink
small AI default change
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Dec 26, 2024
1 parent 87f7364 commit 146f6d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions screenpipe-app-tauri/components/settings/ai-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,10 @@ const AISection = () => {
</TooltipTrigger>
<TooltipContent side="left">
<p>
maximum number of characters (think 3 characters per token)
maximum number of characters (think 4 characters per token)
to send to the ai model. <br />
usually, openai models support up to 128k tokens, which is
roughly 30k-40k characters. <br />
roughly 512k characters. <br />
we&apos;ll use this for UI purposes to show you how much you
can send.
</p>
Expand Down
2 changes: 1 addition & 1 deletion screenpipe-app-tauri/lib/hooks/use-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const DEFAULT_SETTINGS: Settings = {
includedWindows: [],
aiProviderType: "openai",
aiUrl: "https://api.openai.com/v1",
aiMaxContextChars: 30000,
aiMaxContextChars: 512000,
fps: 0.5,
vadSensitivity: "high",
analyticsEnabled: true,
Expand Down

0 comments on commit 146f6d2

Please sign in to comment.