Skip to content

Commit

Permalink
Merge pull request #287 from Rihoj/image_url
Browse files Browse the repository at this point in the history
fix(langchain): image_url format
  • Loading branch information
haouarihk authored May 6, 2024
2 parents 901eb13 + 9542b80 commit f983a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LLMProviders/langchain/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export default class LangchainProvider
else
result = res.content
.map((c) =>
c.type == "image_url" ? `![${c.image_url}]` : c.text
c.type == "image_url" ? `![](${c.image_url})` : c.text
)
.join("\n");
}
Expand Down

0 comments on commit f983a0c

Please sign in to comment.