File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ export default {
239239 let response : AiTextGenerationOutput ;
240240 try {
241241 // @ts -expect-error broken bindings
242- response = await env . AI . run ( '@cf/meta/llama-3.2-3b -instruct' , { messages } ) ;
242+ response = await env . AI . run ( '@cf/meta/llama-3.2-11b-vision -instruct' , { messages } ) ;
243243 } catch ( e ) {
244244 console . log ( e ) ;
245245 await bot . reply ( `Error: ${ e as string } ` ) ;
@@ -270,7 +270,7 @@ export default {
270270 let response : AiTextGenerationOutput ;
271271 try {
272272 // @ts -expect-error broken bindings
273- response = await env . AI . run ( '@cf/meta/llama-3.2-3b -instruct' , { messages, max_tokens : 100 } ) ;
273+ response = await env . AI . run ( '@cf/meta/llama-3.2-11b-vision -instruct' , { messages, max_tokens : 100 } ) ;
274274 } catch ( e ) {
275275 console . log ( e ) ;
276276 await bot . reply ( `Error: ${ e as string } ` ) ;
@@ -310,7 +310,7 @@ export default {
310310 let response : AiTextGenerationOutput ;
311311 try {
312312 // @ts -expect-error broken bindings
313- response = await env . AI . run ( '@cf/meta/llama-3.2-3b -instruct' , { messages } ) ;
313+ response = await env . AI . run ( '@cf/meta/llama-3.2-11b-vision -instruct' , { messages } ) ;
314314 } catch ( e ) {
315315 console . log ( e ) ;
316316 await bot . reply ( `Error: ${ e as string } ` ) ;
You can’t perform that action at this time.
0 commit comments