mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 14:17:11 +08:00
Create claude_ai_session
This commit is contained in:
9
bot/claude/claude_ai_session
Normal file
9
bot/claude/claude_ai_session
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
from bot.session_manager import Session
|
||||||
|
|
||||||
|
|
||||||
|
class ClaudeAiSession(Session):
|
||||||
|
def __init__(self, session_id, system_prompt=None, model="claude"):
|
||||||
|
super().__init__(session_id, system_prompt)
|
||||||
|
self.model = model
|
||||||
|
# claude逆向不支持role prompt
|
||||||
|
# self.reset()
|
||||||
Reference in New Issue
Block a user