This commit is contained in:
2025-06-03 01:51:24 +09:00
parent 4a441279fb
commit 42c85fc820
4 changed files with 126 additions and 3 deletions

View File

@ -86,7 +86,7 @@ Recent memories:
self.logger.error(f"Ollama generation failed: {e}")
return self._fallback_response(persona_state)
def chat(self, prompt: str, max_tokens: int = 200) -> str:
def chat(self, prompt: str, max_tokens: int = 2000) -> str:
"""Simple chat interface"""
try:
response = self.client.chat(