规范化vertex ai的调用方式

* GoogleAuthUtils.GoogleGenaiClient.generate_content() 调用增加了timeout参数 默认为300秒
* 规范化VertexAI调用方式

---------

Merge request URL: https://g-ldyi2063.coding.net/p/dev/d/modalDeploy/git/merge/4827?initial=true
Co-authored-by: shuohigh@gmail.com
This commit is contained in:
2025-06-19 16:41:28 +08:00
committed by Coding
parent 5e3c91f194
commit 2389b4b77f
10 changed files with 2276 additions and 1468 deletions

View File

@@ -12,7 +12,7 @@ dependencies = [
"backoff>=2.2.1",
"crcmod>=1.7",
"loguru>=0.7.3",
"httpx==0.27.0",
"httpx>=0.28.1",
"pydantic>=2.11.3",
"pydantic-settings>=2.9.1",
"webvtt-py>=0.5.1",
@@ -34,7 +34,7 @@ dependencies = [
"m3u8>=6.0.0",
"aiofiles==23.2.1",
"annotated-types==0.6.0",
"anyio==4.3.0",
"anyio>=4.8.0",
"browser-cookie3==0.19.1",
"certifi==2024.2.2",
"click==8.1.7",
@@ -59,14 +59,15 @@ dependencies = [
"tornado==6.4",
"ua-parser==0.18.0",
"user-agents==2.2.0",
"websockets==12.0",
"websockets>=12.0",
"gmssl==3.2.2",
"tenacity~=9.0.0",
"tenacity",
"retry>=0.9.2",
"ffmpy>=0.5.0",
"watchdog>=6.0.0",
"pyfiglet>=1.0.3",
"google-api-python-client>=2.172.0",
"google-genai==1.21.0",
]
classifiers = [
"Programming Language :: Python :: 3",