claude_ai_session.py 291B

123456789
  1. from bot.session_manager import Session
  2. class ClaudeAiSession(Session):
  3. def __init__(self, session_id, system_prompt=None, model="claude"):
  4. super().__init__(session_id, system_prompt)
  5. self.model = model
  6. # claude逆向不支持role prompt
  7. # self.reset()