github ggml-org/llama.cpp b7598

latest releases: b7609, b7608, b7607...
one day ago
Details

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

macOS/iOS:

Linux:

Windows:

openEuler:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.