Skip to content

Commit 7a0c0c2

Browse files
committed
fix linting
1 parent de82d75 commit 7a0c0c2

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

agents/src/beta/workflows/task_group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// SPDX-License-Identifier: Apache-2.0
44
import { z } from 'zod';
5-
import { ChatContext } from '../../llm/chat_context.js';
5+
import type { ChatContext } from '../../llm/chat_context.js';
66
import { LLM, ToolError, ToolFlag, tool } from '../../llm/index.js';
77
import { AgentTask } from '../../voice/agent.js';
88

agents/src/llm/chat_context.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// SPDX-License-Identifier: Apache-2.0
44
import { describe, expect, it } from 'vitest';
55
import { initializeLogger } from '../log.js';
6+
import { FakeLLM } from '../voice/testing/fake_llm.js';
67
import {
78
type AudioContent,
89
ChatContext,
@@ -13,7 +14,6 @@ import {
1314
type ImageContent,
1415
ReadonlyChatContext,
1516
} from './chat_context.js';
16-
import { FakeLLM } from '../voice/testing/fake_llm.js';
1717

1818
initializeLogger({ pretty: false, level: 'error' });
1919

@@ -315,7 +315,8 @@ describe('ChatContext._summarize', () => {
315315
await ctx._summarize(fake, { keepLastTurns: 1 });
316316

317317
const summary = ctx.items.find(
318-
(item) => item.type === 'message' && item.role === 'assistant' && item.extra?.is_summary === true,
318+
(item) =>
319+
item.type === 'message' && item.role === 'assistant' && item.extra?.is_summary === true,
319320
);
320321
expect(summary).toBeDefined();
321322
if (!summary || summary.type !== 'message') {

agents/src/voice/testing/fake_llm.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// SPDX-FileCopyrightText: 2026 LiveKit, Inc.
22
//
33
// SPDX-License-Identifier: Apache-2.0
4-
import { ChatContext, FunctionCall } from '../../llm/chat_context.js';
4+
import type { ChatContext } from '../../llm/chat_context.js';
5+
import { FunctionCall } from '../../llm/chat_context.js';
56
import { LLMStream as BaseLLMStream, LLM, type LLMStream } from '../../llm/llm.js';
67
import type { ToolChoice, ToolContext } from '../../llm/tool_context.js';
78
import { type APIConnectOptions, DEFAULT_API_CONNECT_OPTIONS } from '../../types.js';

0 commit comments

Comments
 (0)