Skip to content

Commit

Permalink
Merge pull request #88 from boswelja/fix-llama-prompt
Browse files Browse the repository at this point in the history
Remove "escaped" quotes from llama function output
  • Loading branch information
pepperoni21 authored Nov 29, 2024
2 parents 56d7ec2 + c1c209d commit 1728591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generation/functions/pipelines/meta_llama/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ impl LlamaFunctionCall {
.to_string()
.replace("{{", "{")
.replace("}}", "}")
.replace("\\\"", "\"")
}

fn parse_tool_response(&self, response: &str) -> Vec<LlamaFunctionCallSignature> {
Expand Down

0 comments on commit 1728591

Please sign in to comment.