Skip to content

Commit 571d8dc

Browse files
authored
feat: switch to tetos (#484)
Signed-off-by: Frost Ming <[email protected]>
1 parent 97e534b commit 571d8dc

16 files changed

+211
-556
lines changed

README.md

+37-42
Large diffs are not rendered by default.

pdm.lock

+58-109
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,14 @@ dependencies = [
1818
"rich",
1919
"zhipuai>=2.0.1",
2020
"httpx[socks]",
21-
"edge-tts>=6.1.3",
2221
"EdgeGPT==0.1.26",
2322
"langchain>=0.0.343",
2423
"beautifulsoup4>=4.12.0",
2524
"google-search-results>=2.4.2",
2625
"google-generativeai",
2726
"numexpr>=2.8.6",
2827
"dashscope>=1.10.0",
29-
"azure-cognitiveservices-speech>=1.37.0",
30-
"multidict>=6.0.5",
31-
"volcengine>=1.0.136",
28+
"tetos>=0.1.0",
3229
]
3330
license = {text = "MIT"}
3431
dynamic = ["version", "optional-dependencies"]

requirements.txt

+4-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
aiohttp==3.9.5
55
aiosignal==1.3.1
66
annotated-types==0.6.0
7-
anyio==3.7.1
7+
anyio==4.3.0
88
async-timeout==4.0.3; python_version < "3.11"
99
attrs==23.2.0
1010
azure-cognitiveservices-speech==1.37.0
@@ -13,21 +13,21 @@ bingimagecreator==0.5.0
1313
cachetools==5.3.2
1414
certifi==2024.2.2
1515
charset-normalizer==3.3.2
16+
click==8.1.7
1617
colorama==0.4.6; platform_system == "Windows"
1718
dashscope==1.17.0
1819
dataclasses-json==0.6.3
19-
decorator==5.1.1
2020
distro==1.9.0
2121
edge-tts==6.1.10
2222
edgegpt==0.1.26
2323
exceptiongroup==1.2.0; python_version < "3.11"
2424
frozenlist==1.4.1
25-
google==3.0.0
2625
google-ai-generativelanguage==0.6.2
2726
google-api-core==2.15.0
2827
google-api-python-client==2.125.0
2928
google-auth==2.26.1
3029
google-auth-httplib2==0.2.0
30+
google-cloud-texttospeech==2.16.3
3131
google-generativeai==0.5.1
3232
google-search-results==2.4.2
3333
googleapis-common-protos==1.62.0
@@ -61,34 +61,29 @@ packaging==23.2
6161
prompt-toolkit==3.0.43
6262
proto-plus==1.23.0
6363
protobuf==4.25.1
64-
py==1.11.0
6564
pyasn1==0.5.1
6665
pyasn1-modules==0.3.0
67-
pycryptodome==3.9.9
6866
pydantic==2.5.3
6967
pydantic-core==2.14.6
7068
pygments==2.17.2
7169
pyjwt==2.8.0
7270
pyparsing==3.1.2; python_version > "3.0"
73-
pytz==2020.5
7471
pyyaml==6.0.1
7572
regex==2023.12.25
7673
requests==2.31.0
77-
retry==0.9.2
7874
rich==13.7.1
7975
rsa==4.9
80-
six==1.16.0
8176
sniffio==1.3.0
8277
socksio==1.0.0
8378
soupsieve==2.5
8479
sqlalchemy==2.0.25
8580
tenacity==8.2.3
81+
tetos==0.1.0
8682
tqdm==4.66.1
8783
typing-extensions==4.9.0
8884
typing-inspect==0.9.0
8985
uritemplate==4.1.1
9086
urllib3==2.1.0
91-
volcengine==1.0.136
9287
wcwidth==0.2.13
9388
websockets==12.0
9489
yarl==1.9.4

xiao_config.json.example

+3-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"verbose": false,
1515
"bot": "chatgptapi",
1616
"tts": "mi",
17-
"edge_tts_voice": "zh-CN-XiaoxiaoNeural",
17+
"tts_options": {},
1818
"prompt": "请用100字以内回答",
1919
"keyword": [""],
2020
"change_prompt_keyword": ["更改提示词"],
@@ -26,11 +26,5 @@
2626
"bing_cookie_path": "",
2727
"bing_cookies": {},
2828
"api_base": "https://abc-def.openai.azure.com/",
29-
"deployment_id": "",
30-
"azure_tts_speech_key": null,
31-
"azure_tts_service_region": "eastasia",
32-
"volc_accesskey": "",
33-
"volc_secretkey": "",
34-
"volc_tts_app": "",
35-
"volc_tts_speaker": "zh_male_chunhou",
36-
}
29+
"deployment_id": ""
30+
}

0 commit comments

Comments
 (0)