Spaces:
Running
Running
Upload main.py
Browse files
main.py
CHANGED
@@ -558,7 +558,7 @@ def v1beta2_google_ai(
|
|
558 |
):
|
559 |
url = SOURCE_ASSISTANT_GOOGLE_AI
|
560 |
token = ASSISTANT_GOOGLE_API_KEYS
|
561 |
-
api_url = f"{SOURCE_ASSISTANT_GOOGLE_AI}/v1beta2/models/
|
562 |
try:
|
563 |
headers = {"Content-Type": "application/json"}
|
564 |
data = {
|
|
|
558 |
):
|
559 |
url = SOURCE_ASSISTANT_GOOGLE_AI
|
560 |
token = ASSISTANT_GOOGLE_API_KEYS
|
561 |
+
api_url = f"{SOURCE_ASSISTANT_GOOGLE_AI}/v1beta2/models/chat-bison-001:generateMessage?key={ASSISTANT_GOOGLE_API_KEYS}"
|
562 |
try:
|
563 |
headers = {"Content-Type": "application/json"}
|
564 |
data = {
|