You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

claude_ai_session.py 291B

пре 1 година
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()