Skip to content

Commit 65ef1c8

Browse files
committed
rename struct token_prob to prob_info
1 parent d2463dc commit 65ef1c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/server/server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,12 +441,12 @@ struct completion_token_output {
441441
llama_token tok;
442442
float prob;
443443
std::string text_to_send;
444-
struct token_prob {
444+
struct prob_info {
445445
llama_token tok;
446446
std::string txt;
447447
float prob;
448448
};
449-
std::vector<token_prob> probs;
449+
std::vector<prob_info> probs;
450450

451451
json to_json(bool post_sampling_probs) const {
452452
json probs_for_token = json::array();

0 commit comments

Comments
 (0)