fleet-memory/hindsight-api/hindsight_api/engine/reflect
Chris Bartholomew 66abad61b8
Fix Gemini tool response format by including function name (#187)
Gemini requires the 'name' field in tool/function response messages,
while OpenAI infers it from tool_call_id. Without it, Gemini returns:
  'function_response.name: Name cannot be empty'

Added 'name' field to both tool result messages in the reflect agent.
2026-01-23 07:38:51 +01:00
..
__init__.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
agent.py Fix Gemini tool response format by including function name (#187) 2026-01-23 07:38:51 +01:00
models.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
observations.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
prompts.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
tools.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
tools_schema.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00