Skip to content

Commit

Permalink
fix: meta and Phi working
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop committed Oct 22, 2024
1 parent ce0464c commit 902bc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github_llms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ function fromGithubChoice(
: "other",
message: {
role: "model",
content: toolRequestParts
content: (toolRequestParts?.length ?? 0) > 0
? (toolRequestParts as ToolRequestPart[])
: [
jsonMode
Expand Down

0 comments on commit 902bc00

Please sign in to comment.