Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertisement in answers #2233

Open
nBalykin opened this issue Sep 19, 2024 · 3 comments
Open

Advertisement in answers #2233

nBalykin opened this issue Sep 19, 2024 · 3 comments
Assignees
Labels
bug Something isn't working stale

Comments

@nBalykin
Copy link

nBalykin commented Sep 19, 2024

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)

response = g4f.ChatCompletion.create(
model = "llama-3.1-70b",
messages = text
) 

Screenshot_2024-09-19-19-26-53-75_4495e6112227b794374c62341ece5829

@nBalykin nBalykin added the bug Something isn't working label Sep 19, 2024
@TheFirstNoob
Copy link

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
) 

@nBalykin
Copy link
Author

nBalykin commented Sep 20, 2024

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])

Copy link

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added the stale label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants