Skip to content

Conversation

@Furisto
Copy link
Owner

@Furisto Furisto commented Feb 5, 2026

  • Move ProviderData, ToolCall, ToolResult types to backend/tool/types
  • Remove duplicate ConvertMemoryMessageToProto from backend/agent
  • Replace simplified api/conv/message.go with comprehensive implementation
  • Simplify shared/conv to only utility functions (Ptr, FromPtr, ErrorToString)

This consolidation establishes clear ownership:

  • backend/tool/types: persistence types for tool calls/results
  • backend/api/conv: Memory↔Proto conversions (API layer)
  • backend/agent: Memory↔Model conversions (LLM provider layer)

- Move ProviderData, ToolCall, ToolResult types to backend/tool/types
- Remove duplicate ConvertMemoryMessageToProto from backend/agent
- Replace simplified api/conv/message.go with comprehensive implementation
- Simplify shared/conv to only utility functions (Ptr, FromPtr, ErrorToString)

This consolidation establishes clear ownership:
- backend/tool/types: persistence types for tool calls/results
- backend/api/conv: Memory↔Proto conversions (API layer)
- backend/agent: Memory↔Model conversions (LLM provider layer)

Co-authored-by: construct-agent <noreply@construct.sh>
@Furisto Furisto marked this pull request as ready for review February 5, 2026 12:04
@Furisto Furisto merged commit 489b4c4 into main Feb 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant