We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f55538c commit dd0dc36Copy full SHA for dd0dc36
llama.h
@@ -496,7 +496,7 @@ extern "C" {
496
// Type of pointer to the beam_search_callback function.
497
// void* callback_data is any custom data passed to llama_beam_search, that is subsequently
498
// passed back to beam_search_callback. This avoids having to use global variables in the callback.
499
- typedef void (*llama_beam_search_callback_fn_t)(void * callback_data, llama_beams_state);
+ typedef void (*llama_beam_search_callback_fn_t)(void * callback_data, struct llama_beams_state);
500
501
/// @details Deterministically returns entire sentence constructed by a beam search.
502
/// @param ctx Pointer to the llama_context.
0 commit comments