modify scripts

This commit is contained in:
2026-06-10 17:37:21 +08:00
parent cb2db256d4
commit 9dfb86af20
4 changed files with 119 additions and 4 deletions
+7 -2
View File
@@ -1,6 +1,6 @@
[base]
jwt_secret = "mCTf-JhNRnhaaGJy_x"
bind_addr = ":8090"
bind_addr = ":1090"
[log]
echo_log_file = "../log/echo.log"
@@ -11,8 +11,13 @@ max_age = 28
compress = true
level = "debug"
[azure_openai]
endpoint = "https://tokenhub-intl.tencentmaas.com/v1/chat/completions"
keys = "sk-ZPq9H7eLHEDoK1mCeyBXtgDlGkj3XBAsTkJHsvASwwRxeARs"
gpt4_model = "hy3-preview"
gpt35_model = "hy3-preview"
[azure_openai_1]
endpoint = "https://grammar.openai.azure.com/"
keys = "8b68c235b737488ab9a99983a14f8cca,0274ccde58aa47b189f0d13349885ad3"
gpt4_model = "gpt4"