mirror of
https://github.com/Kakune55/PyGetGPT.git
synced 2025-05-06 18:29:24 +08:00
更新 gpt4Turbo.py
This commit is contained in:
parent
68ae60d529
commit
d533cfc6d1
@ -1,7 +1,7 @@
|
|||||||
import openai , config
|
import openai , config
|
||||||
|
|
||||||
openai.api_key = config.readConf()["gpt3.5turbo"]["Authorization"]
|
openai.api_key = config.readConf()["gpt4.0turbo"]["Authorization"]
|
||||||
openai.base_url = config.readConf()["gpt3.5turbo"]["url"]
|
openai.base_url = config.readConf()["gpt4.0turbo"]["url"]
|
||||||
|
|
||||||
def service(prompt,history = ""):
|
def service(prompt,history = ""):
|
||||||
if history == "":
|
if history == "":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user