File tree Expand file tree Collapse file tree 2 files changed +85
-74
lines changed
Expand file tree Collapse file tree 2 files changed +85
-74
lines changed Original file line number Diff line number Diff line change 420420 or ( = :imagen-3 model ) ( = :flash-imagen model )
421421 img $ {}
422422 :class-name $ str-spaced style-image "\" show-image"
423+ div ( {} )
424+ a $ {}
425+ :inner-text $ or ( turn-str model ) "\" -"
426+ :class-name $ str-spaced style-a-toggler css/font-fancy
427+ :style $ {}
428+ :opacity $ if ( = model :anthropic ) 1 0.3
429+ :on-click $ fn ( e d! )
430+ ; d! $ :: :change-model
431+ .show model-plugin d!
423432 if ( :loading? state )
424433 div ( {} )
425434 memof1-call-by :abort-loading comp-abort $ str ( turn-str model ) "\" loading..."
438447 {} $ :class-name css/row-parted
439448 div
440449 {} $ :class-name ( str-spaced css/row-middle css/gap8 )
441- if ( :done? state )
442- a $ {}
443- :inner-text $ turn-str model
444- :class-name $ str-spaced style-a-toggler css/font-fancy
445- :style $ {}
446- :opacity $ if ( = model :anthropic ) 1 0.3
447- :on-click $ fn ( e d! )
448- ; d! $ :: :change-model
449- .show model-plugin d!
450- div ( {} )
451- memof1-call-by :abort-streaming comp-abort $ str ( turn-str model ) "\" streaming..."
450+ if ( :done? state ) nil $ div ( {} )
451+ memof1-call-by :abort-streaming comp-abort $ str ( turn-str model ) "\" streaming..."
452452 if ( :done? state )
453453 div
454454 {} $ :class-name ( str-spaced css/row-middle )
You can’t perform that action at this time.
0 commit comments