mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Show debug log, not warning when use default tokenizer for context stuffing
This commit is contained in:
parent
f173188dcf
commit
178b78f87b
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def truncate_messages(
|
|||
else:
|
||||
encoder = AutoTokenizer.from_pretrained(default_tokenizer)
|
||||
state.pretrained_tokenizers[default_tokenizer] = encoder
|
||||
logger.warning(
|
||||
logger.debug(
|
||||
f"Fallback to default chat model tokenizer: {tokenizer_name}.\nConfigure tokenizer for unsupported model: {model_name} in Khoj settings to improve context stuffing."
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue