Skip to content

feat: expose token used by AI agent#28

Merged
ArtyomSavchenko merged 1 commit into
developfrom
feat-expose-tokens
Jun 23, 2026
Merged

feat: expose token used by AI agent#28
ArtyomSavchenko merged 1 commit into
developfrom
feat-expose-tokens

Conversation

@aonnikov

Copy link
Copy Markdown
Collaborator

No description provided.

@aonnikov aonnikov requested a review from ArtyomSavchenko June 18, 2026 07:50
@ArtyomSavchenko

Copy link
Copy Markdown
Collaborator

@aonnikov Is this test failure related to the changes?

FAIL src/services/__tests__/llmService.test.ts
  ● DefaultLLMService › chat handles tool-call rounds and accumulates provider and tool usage

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    Expected: "Executing LLM tool", {"args": "{\"q\":\"x\"}", "round": 0, "tool": "lookup", "toolCallId": "call-1", "workspace": "00000000-0000-4000-8000-000000000001"}

    Number of calls: 0

      231 |       undefined
  ...7 lines omitted...
      at Object.<anonymous> (src/services/__tests__/llmService.test.ts:233:22)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
@aonnikov aonnikov force-pushed the feat-expose-tokens branch from c5e27c0 to d71e409 Compare June 18, 2026 09:50
@ArtyomSavchenko ArtyomSavchenko merged commit c799f32 into develop Jun 23, 2026
23 of 24 checks passed
@aonnikov aonnikov deleted the feat-expose-tokens branch June 23, 2026 10:02
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.

2 participants