Browse Source

Create claude_ai_session

master
resphina GitHub 1 year ago
parent
commit
9a1e10deff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      bot/claude/claude_ai_session

+ 9
- 0
bot/claude/claude_ai_session View 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()

Loading…
Cancel
Save