mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-05-22 07:34:47 +02:00
Disable rolling summary — send full conversation history to Gemini
Mesh messages are short enough that summarization is unnecessary with Gemini Flash's 1M token context window. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6b1320f9e0
commit
6a67fe1940
1 changed files with 1 additions and 2 deletions
|
|
@ -166,8 +166,7 @@ class MessageRouter:
|
||||||
response = await self.llm.generate(
|
response = await self.llm.generate(
|
||||||
messages=history,
|
messages=history,
|
||||||
system_prompt=system_prompt,
|
system_prompt=system_prompt,
|
||||||
max_tokens=500, # Increased for web search/RAG responses
|
max_tokens=500,
|
||||||
user_id=message.sender_id, # Enable memory optimization
|
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"LLM generation error: {e}")
|
logger.error(f"LLM generation error: {e}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue