Open nBalykin opened 2 days ago
Try to use other provider for this model like HuggingChat. I think its provider problem.
response = g4f.ChatCompletion.create(
model = "llama-3.1-70b",
provider="HuggingChat",
messages = text
)
Upd: I've removed Airforce in section llama in models.py file. Now I don't have this message. I think this is Airforce provider advertisement.
187 llama_3_1_70b = Model(
188 name = "llama-3.1-70b",
189 base_provider = "Meta",
190 best_provider = IterListProvider([DDG, HuggingChat, FreeGpt, Blackbox, TeachAnything, Free2GPT, HuggingFace, PerplexityLabs])
I use llama-3.1-70b and sometimes I get this answer. But gpt-4o has this issue too:
One message exceeds the 1000chars per message limit. Join our discord for more: [https://discord.com/invite/q55gsH8z5F](https://discord.com/invite/q55gsH8z5F)
I use g4f as telegram bot. My request code (python)