File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ <h3>EXPLORER</h3>
138138 < span class ="separator "> •</ span >
139139 < span class ="info-item ">
140140 < span class ="material-symbols-outlined "> smart_toy</ span >
141- < select id ="modelSelector " title ="AI Model Template ">
142- < option value ="gpt "> GPT-4</ option >
143- < option value ="claude "> Claude</ option >
144- < option value ="gemini "> Gemini</ option >
141+ < select id ="modelSelector " title ="Choose AI model format - optimizes output structure for each AI ">
142+ < option value ="gpt " title =" Markdown format with clear code blocks " > GPT-4 (Markdown) </ option >
143+ < option value ="claude " title =" XML format with structured context " > Claude (XML) </ option >
144+ < option value ="gemini " title =" Hybrid format with metadata " > Gemini (Hybrid) </ option >
145145 </ select >
146146 </ span >
147147 </ div >
Original file line number Diff line number Diff line change 13981398 }
13991399 }
14001400
1401+ // Add closing tags for Claude format
1402+ if ( S . model === 'claude' ) {
1403+ parts . push ( '</source_files>\n</context>\n' ) ;
1404+ }
1405+
14011406 await new Promise ( r => setTimeout ( r , 0 ) ) ;
14021407
14031408 const blob = new Blob ( parts , { type : 'text/plain' } ) ;
14941499 if ( D . model ) {
14951500 D . model . addEventListener ( 'change' , ( ) => {
14961501 S . model = D . model . value ;
1502+ const templates = {
1503+ gpt : '📝 GPT-4: Markdown format with clear code blocks and instructions' ,
1504+ claude : '🤖 Claude: XML-structured context with semantic tags for better understanding' ,
1505+ gemini : '✨ Gemini: Hybrid format with metadata and organized sections'
1506+ } ;
1507+ console . log ( `%c${ templates [ S . model ] } ` , 'color:#10b981;font-weight:bold' ) ;
1508+ toast ( `Template: ${ S . model . toUpperCase ( ) } ` , 'info' ) ;
14971509 } ) ;
14981510 }
14991511 // Optimize file input change handler
You can’t perform that action at this time.
0 commit comments