File tree Expand file tree Collapse file tree 2 files changed +67
-50
lines changed Expand file tree Collapse file tree 2 files changed +67
-50
lines changed Original file line number Diff line number Diff line change 258258 js-object ( :thinkingBudget 200 ) ( :includeThoughts think? )
259259 :httpOptions $ js-object
260260 :baseUrl $ get-env "\" gemini-host" "\" https://ja.chenyong.life"
261- :tools $ ->
262- js-array
263- if search? $ js-object
264- :googleSearch $ js-object
265- if has-url? $ js-object
266- :urlContext $ js-object
267- .!filter $ fn ( x & _a ) x
261+ :tools $ let
262+ t $ ->
263+ js-array
264+ if search? $ js-object
265+ :googleSearch $ js-object
266+ if has-url? $ js-object
267+ :urlContext $ js-object
268+ .!filter $ fn ( x & _a ) x
269+ if
270+ = 0 $ .-length t
271+ , js/undefined t
268272 :abortSignal $ let
269273 abort $ new js/AbortController
270274 reset! *abort-control abort
440444 {} $ :class-name css/row-parted
441445 div
442446 {} $ :class-name ( str-spaced css/row-middle css/gap8 )
443- if ( :done? state ) nil $ div ( {} )
444- memof1-call-by :abort-streaming comp-abort $ str ( turn-str model ) "\" streaming..."
447+ if ( :done? state ) nil $ div ( {} ) ( memof1-call-by :abort-streaming comp-abort "\" Streaming..." )
445448 if ( :done? state )
446449 div
447450 {} $ :class-name ( str-spaced css/row-middle )
You can’t perform that action at this time.
0 commit comments