randydev commited on
Commit
3c64daa
1 Parent(s): fab8b8d

Upload main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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/text-bison-001:generateMessage?key={ASSISTANT_GOOGLE_API_KEYS}"
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 = {