old-agentic
Travis Fischer 2024-06-29 15:09:15 -07:00
rodzic 3f2ffb01ba
commit f03c7af1bb
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -32,8 +32,7 @@ export class AIFunctionSet implements Iterable<types.AIFunction> {
return fn
}
const f = fn as any
const fa = (f.functions ?? f) as AIFunctionSet
const fa = ((fn as any).functions ?? fn) as AIFunctionSet
if (fa) {
try {
const fns = [...fa]