Skip to content

Commit

Permalink
fix links to prepare merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Feb 16, 2025
1 parent ae6b870 commit 1421037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ std::vector<common_chat_msg> common_chat_msgs_parse_oaicompat(const json & messa
msg.content_parts.push_back(msg_part);
}
} else if (!content.is_null()) {
throw std::runtime_error("Invalid 'content' type: expected string or array, got " + content.dump() + " (ref: https://github.com/ggerganov/llama.cpp/issues/8367)");
throw std::runtime_error("Invalid 'content' type: expected string or array, got " + content.dump() + " (ref: https://github.com/ggml-org/llama.cpp/issues/8367)");
}
} else {
throw std::runtime_error("Expected 'content' (ref: https://github.com/ggerganov/llama.cpp/issues/8367)");
throw std::runtime_error("Expected 'content' (ref: https://github.com/ggml-org/llama.cpp/issues/8367)");
}
if (message.contains("reasoning_content")) {
msg.reasoning_content = message.at("reasoning_content");
Expand Down

0 comments on commit 1421037

Please sign in to comment.