Revert "API: Add warning about vanilla llama-server not supporting prompt logprobs + instructions"

This reverts commit 42dfcdfc5b.
This commit is contained in:
oobabooga 2026-04-03 07:30:48 -07:00
parent 8bba9ecc3f
commit 95d6c53e13

View file

@ -333,12 +333,6 @@ class LlamaServer:
prompt_probs = result.get("prompt_probabilities", [])
if not prompt_probs:
logger.warning(
"The llama.cpp server did not return prompt probabilities. "
"This feature requires a custom build with prompt_logprobs support. "
"See: https://github.com/oobabooga/llama.cpp/tree/prompt-logprobs "
"or https://github.com/oobabooga/ik_llama.cpp/tree/prompt-logprobs"
)
return []
# Null first token (no conditioning context); use empty string for BOS