mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-09 16:44:35 +00:00
server: enable token array inputs for OAI API (#15001)
This commit is contained in:
parent
a9f7541ec2
commit
f906275537
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue