server: enable token array inputs for OAI API (#15001)

This commit is contained in:
Johannes Gäßler authored and GitHub committed 2025-08-02 10:12:41 +02:00
1 parent a9f7541ec2
commit f906275537
1 file changed
-3
-3
View File
@@ -4249,9 +4249,6 @@ int main(int argc, char ** argv) {
// process prompt
std::vector<server_tokens> inputs;
if (oaicompat && !prompt.is_string()) {
throw std::runtime_error("prompt must be a string");
}
if (oaicompat && has_mtmd) {
// multimodal