Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,16 +38,7 @@ class GeminiLLM(LLM):
|
|
38 |
data = {
|
39 |
"contents": [
|
40 |
{
|
41 |
-
"
|
42 |
-
"content": {
|
43 |
-
"parts": ["You are an agent. Please respond concisely."]
|
44 |
-
}
|
45 |
-
},
|
46 |
-
{
|
47 |
-
"role": "user",
|
48 |
-
"content": {
|
49 |
-
"parts": [prompt]
|
50 |
-
}
|
51 |
}
|
52 |
],
|
53 |
"generationConfig": {
|
|
|
38 |
data = {
|
39 |
"contents": [
|
40 |
{
|
41 |
+
"parts": [{"text": prompt}]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
],
|
44 |
"generationConfig": {
|