Skip to content

Commit

Permalink
Update ChatGPT.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Oct 12, 2024
1 parent 21b04d6 commit 4a9413c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions nodes/ChatGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,12 +843,7 @@ def run(self, json_string,key="",json_string2=None):

# 以下为固定提示词的LLM节点示例
class SimulateDevDesignDiscussions:
def __init__(self):
# self.__client = OpenAI()
self.session_history = [] # 用于存储会话历史的列表
# self.seed=0
self.system_content="You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible."


@classmethod
def INPUT_TYPES(cls):

Expand Down

0 comments on commit 4a9413c

Please sign in to comment.