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
1 change: 0 additions & 1 deletion .scripts/copy-shared-files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const ESLINTRC_EXCLUDE = [
'protobufs',
'food-delivery',
'nestjs-exchange-rates',
'workflow-streams',
];
const ESLINTIGNORE_EXCLUDE = [
'production',
Expand Down
2 changes: 1 addition & 1 deletion workflow-streams/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
},
overrides: [
{
files: ['src/workflows.ts', 'src/workflows-*.ts', 'src/workflows/*.ts', 'src/llm-workflows.ts'],
files: ['src/workflows.ts', 'src/workflows-*.ts', 'src/workflows/*.ts'],
rules: {
'no-restricted-imports': [
'error',
Expand Down
2 changes: 1 addition & 1 deletion workflow-streams/src/llm-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function run() {
connection,
namespace: 'default',
taskQueue: LLM_TASK_QUEUE,
workflowsPath: require.resolve('./llm-workflows'),
workflowsPath: require.resolve('./workflows-llm'),
activities,
});
await worker.run();
Expand Down
2 changes: 1 addition & 1 deletion workflow-streams/src/run-llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
type TextComplete,
type TextDelta,
} from './llm-shared';
import { llmStreaming } from './llm-workflows';
import { llmStreaming } from './workflows-llm';

// Long enough that you can comfortably kill the worker mid-stream and watch
// the retry render. Adjust to taste.
Expand Down
4 changes: 2 additions & 2 deletions workflow-streams/src/test/workflows.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type * as activities from '../activities';
import type * as llmActivities from '../llm-activities';
import { TOPIC_PROGRESS, TOPIC_STATUS, type StatusEvent } from '../shared';
import { closeSignal, hub, order, pipeline, ticker } from '../workflows';
import { llmStreaming } from '../llm-workflows';
import { llmStreaming } from '../workflows-llm';

// The unit tests below cover the workflow side only. The client subscribe path
// needs a real server, so it is exercised by the integration test at the end.
Expand Down Expand Up @@ -116,7 +116,7 @@ describe('workflow-streams workflows', function () {
const worker = await Worker.create({
connection: env.nativeConnection,
taskQueue,
workflowsPath: require.resolve('../llm-workflows'),
workflowsPath: require.resolve('../workflows-llm'),
activities: mockActivities,
});
const result = await worker.runUntil(
Expand Down
Loading