llama.cpp
4cd162a1 - chat: make tool description and parameters optional per OpenAI spec (#18478)

Commit
1 day ago
chat: make tool description and parameters optional per OpenAI spec (#18478) * chat: make tool description and parameters optional per OpenAI spec Per the OpenAI API specification, both 'description' and 'parameters' fields in tool function definitions are optional. Previously, the parser would throw an exception if these fields were missing. Attempts to fix #17667 * refactor: use value() for cleaner optional field access
Author
Parents
Loading