640 [8].png

id: 150faec710f94827923a4800737e3139
mime: image/png
filename: 
created_time: 2025-11-28T16:55:17.256Z
updated_time: 2025-11-30T13:38:39.332Z
user_created_time: 2025-11-28T16:55:17.256Z
user_updated_time: 2025-11-30T13:38:39.332Z
file_extension: png
encryption_cipher_text: 
encryption_applied: 0
encryption_blob_encrypted: 0
size: 168764
is_shared: 0
share_id: 
master_key_id: 
user_data: 
blob_updated_time: 1764348917256
ocr_text: 10 export const DEFAULT_TOKEN_LIMIT = 1_048_576;\n11\n12 export function tokenLimit(model: Model): TokenCount {\n13 // Add other models as they become relevant or if specified by config\n14 // Pulled from https://ai.google.dev/gemini-api/docs/models\n15 switch (model) {\n16 case 'gemini-1.5-pro':\n17 | return 2_e97_152;\n18 case 'gemini-1.5-flash':\n19 case 'gemini-2.5-pro-preview-05-06':\n20 case 'gemini-2.5-pro-preview-06-05':\n21 case 'gemini-2.5-pro':\n22 case 'gemini-2.5-flash-preview-05-20':\n23 case 'gemini-2.5-flash':\n24 case 'gemini-2.0-flash':\n25 turn 1 048 S76.\n26 case 'gemini-2.0-flash-preview-image-generation':\n27 return 32_000;\n28 default:\n29 return DEFAULT_TOKEN_LIMIT;\n30 }\n31}
ocr_details: [{"words":[{"t":"10","bb":[83,104,7,21],"bl":[83,104,21,21]},{"t":"export","bb":[148,215,7,25],"bl":[148,215,21,21]},{"t":"const","bb":[230,285,7,21],"bl":[230,285,21,21]},{"t":"DEFAULT_TOKEN_LIMIT","bb":[299,520,6,25],"bl":[299,520,21,21]},{"t":"=","bb":[532,543,11,18],"bl":[532,543,21,21]},{"t":"1_048_576;","bb":[557,668,6,25],"bl":[557,668,21,21]}]},{"words":[{"t":"11","bb":[83,104,36,50],"bl":[83,104,50,50]}]},{"words":[{"t":"12","bb":[83,103,65,79],"bl":[83,103,79,79]},{"t":"export","bb":[148,215,65,83],"bl":[148,215,79,79]},{"t":"function","bb":[230,321,64,80],"bl":[230,321,79,80]},{"t":"tokenLimit(model:","bb":[334,528,63,81],"bl":[334,528,80,79]},{"t":"Model):","bb":[543,621,63,81],"bl":[543,621,79,79]},{"t":"TokenCount","bb":[637,752,64,80],"bl":[637,752,78,79]},{"t":"{","bb":[767,775,63,81],"bl":[767,775,81,81]}]},{"words":[{"t":"13","bb":[83,103,94,108],"bl":[83,103,108,108]},{"t":"//","bb":[171,192,94,110],"bl":[171,192,108,108]},{"t":"Add","bb":[206,239,93,108],"bl":[206,239,108,108]},{"t":"other","bb":[253,310,93,109],"bl":[253,310,108,108]},{"t":"models","bb":[323,390,93,109],"bl":[323,390,108,108]},{"t":"as","bb":[405,425,97,109],"bl":[405,425,108,108]},{"t":"they","bb":[440,484,93,112],"bl":[440,484,108,108]},{"t":"become","bb":[498,566,93,109],"bl":[498,566,108,108]},{"t":"relevant","bb":[582,670,93,109],"bl":[582,670,108,108]},{"t":"or","bb":[685,706,97,109],"bl":[685,706,108,108]},{"t":"if","bb":[720,740,93,108],"bl":[720,740,108,108]},{"t":"specified","bb":[755,857,93,112],"bl":[755,857,108,108]},{"t":"by","bb":[872,892,93,112],"bl":[872,892,108,108]},{"t":"config","bb":[907,973,93,112],"bl":[907,973,108,108]}]},{"words":[{"t":"14","bb":[83,104,123,137],"bl":[83,104,137,137]},{"t":"//","bb":[171,192,123,139],"bl":[171,192,137,137]},{"t":"Pulled","bb":[207,274,122,138],"bl":[207,274,137,137]},{"t":"from","bb":[289,333,122,138],"bl":[289,333,137,137]},{"t":"https://ai.google.dev/gemini-api/docs/models","bb":[347,857,122,141],"bl":[347,857,137,138]}]},{"words":[{"t":"15","bb":[83,103,152,167],"bl":[83,103,166,167]},{"t":"switch","bb":[172,239,151,167],"bl":[172,239,167,167]},{"t":"(model)","bb":[255,330,150,168],"bl":[255,330,167,168]},{"t":"{","bb":[347,355,150,168],"bl":[347,355,168,168]}]},{"words":[{"t":"16","bb":[83,104,181,196],"bl":[83,104,196,196]},{"t":"case","bb":[195,240,184,196],"bl":[195,240,196,196]},{"t":"'gemini-1.5-pro':","bb":[257,446,180,200],"bl":[257,446,196,195]}]},{"words":[{"t":"17","bb":[83,104,210,225],"bl":[83,104,225,225]},{"t":"|","bb":[194,195,204,232],"bl":[194,195,225,225]},{"t":"return","bb":[220,286,210,225],"bl":[220,286,225,225]},{"t":"2_e97_152;","bb":[299,411,210,228],"bl":[299,411,225,225]}]},{"words":[{"t":"18","bb":[83,104,239,254],"bl":[83,104,254,254]},{"t":"case","bb":[195,240,242,254],"bl":[195,240,254,254]},{"t":"'gemini-1.5-flash':","bb":[257,469,238,258],"bl":[257,469,254,254]}]},{"words":[{"t":"19","bb":[83,104,268,283],"bl":[83,104,283,283]},{"t":"case","bb":[195,240,271,283],"bl":[195,240,283,283]},{"t":"'gemini-2.5-pro-preview-05-06':","bb":[257,609,267,287],"bl":[257,609,283,283]}]},{"words":[{"t":"20","bb":[83,104,297,312],"bl":[83,104,312,312]},{"t":"case","bb":[195,240,300,312],"bl":[195,240,312,312]},{"t":"'gemini-2.5-pro-preview-06-05':","bb":[257,609,297,316],"bl":[257,609,312,312]}]},{"words":[{"t":"21","bb":[83,104,326,341],"bl":[83,104,341,341]},{"t":"case","bb":[195,240,329,341],"bl":[195,240,341,341]},{"t":"'gemini-2.5-pro':","bb":[257,446,326,345],"bl":[257,446,341,341]}]},{"words":[{"t":"22","bb":[83,103,355,370],"bl":[83,103,370,370]},{"t":"case","bb":[195,240,358,370],"bl":[195,240,370,370]},{"t":"'gemini-2.5-flash-preview-05-20':","bb":[257,633,355,374],"bl":[257,633,370,370]}]},{"words":[{"t":"23","bb":[83,103,384,399],"bl":[83,103,399,399]},{"t":"case","bb":[195,240,388,399],"bl":[195,240,399,399]},{"t":"'gemini-2.5-flash':","bb":[257,469,384,403],"bl":[257,469,399,399]}]},{"words":[{"t":"24","bb":[83,104,413,428],"bl":[83,104,428,428]},{"t":"case","bb":[195,240,417,428],"bl":[195,240,428,428]},{"t":"'gemini-2.0-flash':","bb":[257,469,413,432],"bl":[257,469,428,428]}]},{"words":[{"t":"25","bb":[83,103,443,457],"bl":[83,103,454,454]},{"t":"turn","bb":[233,283,448,454],"bl":[233,283,454,454]},{"t":"1","bb":[298,310,433,464],"bl":[298,310,454,454]},{"t":"048","bb":[325,353,445,454],"bl":[325,353,454,454]},{"t":"S76.","bb":[396,411,446,454],"bl":[396,411,454,454]}]},{"words":[{"t":"26","bb":[83,104,472,486],"bl":[83,104,486,486]},{"t":"case","bb":[195,240,475,487],"bl":[195,240,486,486]},{"t":"'gemini-2.0-flash-preview-image-generation':","bb":[257,761,471,490],"bl":[257,761,486,486]}]},{"words":[{"t":"27","bb":[83,103,501,515],"bl":[83,103,515,515]},{"t":"return","bb":[220,286,501,516],"bl":[220,286,515,515]},{"t":"32_000;","bb":[299,376,500,519],"bl":[299,376,515,517]}]},{"words":[{"t":"28","bb":[83,104,530,544],"bl":[83,104,547,546]},{"t":"default:","bb":[194,283,529,545],"bl":[194,283,545,544]}]},{"words":[{"t":"29","bb":[83,104,559,573],"bl":[83,104,573,573]},{"t":"return","bb":[220,286,559,574],"bl":[220,286,573,574]},{"t":"DEFAULT_TOKEN_LIMIT;","bb":[299,528,558,577],"bl":[299,528,574,575]}]},{"words":[{"t":"30","bb":[83,104,588,603],"bl":[83,104,602,603]},{"t":"}","bb":[172,181,586,604],"bl":[172,181,604,604]}]},{"words":[{"t":"31}","bb":[83,158,615,634],"bl":[83,158,632,631]}]}]
ocr_status: 2
ocr_error: 
ocr_driver_id: 1
type_: 4