Skip to content

Commit 385dd48

Browse files
committed
biome format
1 parent 47b961c commit 385dd48

File tree

5 files changed

+10
-17
lines changed

5 files changed

+10
-17
lines changed

agents-manage-ui/src/app/api/artifact-components/[artifactComponentId]/generate-render/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
import { jsonSchemaToZod, ModelFactory } from '@inkeep/agents-core';
13-
import { streamText, Output } from 'ai';
13+
import { Output, streamText } from 'ai';
1414
import type { NextRequest } from 'next/server';
1515
import { z } from 'zod';
1616
import { fetchArtifactComponent } from '@/lib/api/artifact-components';

agents-manage-ui/src/app/api/data-components/[dataComponentId]/generate-render/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
import { jsonSchemaToZod, ModelFactory } from '@inkeep/agents-core';
13-
import { streamText, Output } from 'ai';
13+
import { Output, streamText } from 'ai';
1414
import type { NextRequest } from 'next/server';
1515
import { z } from 'zod';
1616
import { fetchDataComponent } from '@/lib/api/data-components';

agents-manage-ui/src/components/traces/timeline/render-panel-content.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,11 @@ export function renderPanelContent({
565565
<Info label="Input tokens" value={a.inputTokens?.toLocaleString() || '0'} />
566566
<Info label="Output tokens" value={a.outputTokens?.toLocaleString() || '0'} />
567567
{structuredContent && (
568-
<JsonEditorWithCopy
569-
value={structuredContent}
570-
title="Structured output"
571-
uri="structured-output.json"
572-
/>
568+
<JsonEditorWithCopy
569+
value={structuredContent}
570+
title="Structured output"
571+
uri="structured-output.json"
572+
/>
573573
)}
574574
<StatusBadge status={a.status} />
575575
{a.status === 'error' && a.otelStatusDescription && (

agents-run-api/src/__tests__/agents/Agent.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ vi.mock('ai', () => ({
1717
// Try to determine the expected output structure from the schema
1818
const schema = options.output.schema;
1919
let outputData: any = {};
20-
20+
2121
// Check if schema expects dataComponents
2222
if (schema?._def?.shape?.dataComponents) {
2323
outputData = {
@@ -40,7 +40,7 @@ vi.mock('ai', () => ({
4040
],
4141
};
4242
}
43-
43+
4444
return {
4545
text: 'Mocked response',
4646
toolCalls: [],

agents-run-api/src/agents/Agent.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,7 @@ import {
3434
TemplateEngine,
3535
} from '@inkeep/agents-core';
3636
import { type Span, SpanStatusCode, trace } from '@opentelemetry/api';
37-
import {
38-
generateText,
39-
streamText,
40-
Output,
41-
type Tool,
42-
type ToolSet,
43-
tool,
44-
} from 'ai';
37+
import { generateText, Output, streamText, type Tool, type ToolSet, tool } from 'ai';
4538
import {
4639
AGENT_EXECUTION_MAX_GENERATION_STEPS,
4740
FUNCTION_TOOL_EXECUTION_TIMEOUT_MS_DEFAULT,

0 commit comments

Comments
 (0)