Skip to content

Commit

Permalink
🚂
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Jun 29, 2024
1 parent db74652 commit db6acfe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ai-function-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit db6acfe

Please sign in to comment.