Skip to content

LLM-05: LLM tool-calling implementation tracker #647

@Chris0Jeky

Description

@Chris0Jeky

Overview

Implementation tracker for LLM tool-calling / function-calling architecture in Taskdeck's chat system.

Spike: #618 (completed) — architecture document at docs/spikes/SPIKE_618_COMPLETED.md

Key Decisions (from spike)

  • Custom implementation over Semantic Kernel (~800 LOC, zero new dependencies)
  • Extend ILlmProvider with CompleteWithToolsAsync() — incremental, no breaking changes
  • 11 tools: 5 read (execute directly) + 6 write (always produce proposals per GP-06)
  • New ToolCallingChatOrchestrator wraps ChatService — max 5 rounds, SignalR intermediate states
  • Mock provider simulates tool calls deterministically via pattern-matching dispatch
  • Cost: ~$0.00088 per 3-round conversation on GPT-4o-mini

Implementation Phases

Dependencies

References

  • docs/spikes/SPIKE_618_COMPLETED.md — full architecture document
  • docs/decisions/ADR-0017-agent-tool-registry-review-first.md — tool registry design
  • docs/GOLDEN_PRINCIPLES.md GP-06 — review-first automation safety

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Pending

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions