We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc28a0b commit 40ee0cbCopy full SHA for 40ee0cb
1 file changed
model_ai/llama.py
@@ -1,6 +1,7 @@
1
# Standard library imports
2
import logging
3
import os
4
+import time
5
6
from config.settings.base import (
7
LLAMA_ENABLED,
@@ -97,7 +98,9 @@ def _run_as_content_generation(self, user_input):
97
98
model = genai.GenerativeModel('models/gemini-3.1-flash-lite-preview')
99
100
# Generate content using Gemini
- return model.generate_content(user_input).text
101
+ response_gemini = model.generate_content(user_input).text
102
+ time.sleep(15)
103
+ return response_gemini
104
105
# Gemini not configured, fallback to LLaMA
106
else:
0 commit comments