diff --git a/naas_drivers/tools/naas_chat_plugin.py b/naas_drivers/tools/naas_chat_plugin.py index e054533f..d9212b8e 100644 --- a/naas_drivers/tools/naas_chat_plugin.py +++ b/naas_drivers/tools/naas_chat_plugin.py @@ -67,11 +67,7 @@ def check_tokens(self, prompt, model, limit=0.2): Tokens: {prompt_tokens} (limit recommended: {int(limit*100)}% -> {recommended_limit})""" ) else: - print( - f""" - ✅ System prompt tokens count OK: {prompt_tokens} (limit: {int(limit*100)}% -> {recommended_limit}) - """ - ) + print(f"✅ System prompt tokens count OK: {prompt_tokens} (limit: {int(limit*100)}% -> {recommended_limit})") return prompt_tokens, max_tokens def create_plugin(