Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cockpit/chat/debug/angular/src/app/debug.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
import { Component } from '@angular/core';
import { ChatDebugComponent } from '@cacheplane/langgraph';
import { agent } from '@cacheplane/langgraph';
import { ChatDebugComponent } from '@cacheplane/chat';
import { agent, toChatAgent } from '@cacheplane/langgraph';
import { ExampleChatLayoutComponent } from '@cacheplane/example-layouts';
import { environment } from '../environments/environment';

Expand All @@ -16,7 +16,7 @@ import { environment } from '../environments/environment';
imports: [ChatDebugComponent, ExampleChatLayoutComponent],
template: `
<example-chat-layout>
<chat-debug main [ref]="stream" />
<chat-debug main [agent]="chatAgent" />
</example-chat-layout>
`,
})
Expand All @@ -25,4 +25,5 @@ export class DebugPageComponent {
apiUrl: environment.langGraphApiUrl,
assistantId: environment.streamingAssistantId,
});
protected readonly chatAgent = toChatAgent(this.stream);
}
6 changes: 3 additions & 3 deletions cockpit/chat/timeline/angular/src/app/timeline.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
import { Component } from '@angular/core';
import { ChatComponent } from '@cacheplane/chat';
import { ChatComponent, ChatTimelineSliderComponent } from '@cacheplane/chat';
import { ExampleChatLayoutComponent } from '@cacheplane/example-layouts';
import { agent, toChatAgent, ChatTimelineSliderComponent } from '@cacheplane/langgraph';
import { agent, toChatAgent } from '@cacheplane/langgraph';
import { environment } from '../environments/environment';

/**
Expand All @@ -20,7 +20,7 @@ import { environment } from '../environments/environment';
<div sidebar class="p-4 space-y-4" style="background: var(--chat-bg, #171717); color: var(--chat-text, #e0e0e0);">
<h3 class="text-xs font-semibold uppercase tracking-wide"
style="color: var(--chat-text-muted, #777);">Timeline</h3>
<chat-timeline-slider [ref]="stream" />
<chat-timeline-slider [agent]="chatAgent" />
<div class="mt-4">
<h4 class="text-xs font-semibold uppercase tracking-wide mb-2"
style="color: var(--chat-text-muted, #777);">How It Works</h4>
Expand Down
Loading
Loading