Skip to content

Commit c3a1dad

Browse files
chore: fix ci (TanStack#294)
* chore: fix ci * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 0ef5003 commit c3a1dad

4 files changed

Lines changed: 7 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"scripts": {
1616
"clean": "pnpm --filter \"./packages/**\" run clean",
17+
"clean:all": "git clean -fdx --exclude=\"!.env\"",
1718
"test": "pnpm run test:ci",
1819
"test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
1920
"test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",

packages/typescript/ai-anthropic/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export {
1919
type AnthropicSummarizeConfig,
2020
type AnthropicSummarizeProviderOptions,
2121
} from './adapters/summarize'
22-
export { ANTHROPIC_MODELS } from './model-meta'
2322
// ============================================================================
2423
// Type Exports
2524
// ============================================================================

packages/typescript/ai-openai/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export type {
8585
OpenAITranscriptionModel,
8686
} from './model-meta'
8787
export {
88-
OPENAI_CHAT_MODELS,
8988
OPENAI_IMAGE_MODELS,
9089
OPENAI_TTS_MODELS,
9190
OPENAI_TRANSCRIPTION_MODELS,

packages/typescript/ai/tests/extend-adapter.test.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,19 @@ class MockTextAdapter<TModel extends MockModel> extends BaseTextAdapter<
9191
_options: TextOptions<ResolveProviderOptions<TModel>>,
9292
): AsyncIterable<StreamChunk> {
9393
yield {
94-
type: 'content',
95-
model: this.model,
96-
id: 'mock-id',
94+
type: 'TEXT_MESSAGE_CONTENT',
95+
messageId: 'mock-id',
9796
timestamp: Date.now(),
9897
delta: 'Hello',
9998
content: 'Hello',
100-
role: 'assistant',
99+
model: this.model,
101100
}
102101
yield {
103-
type: 'done',
104-
model: this.model,
105-
id: 'mock-id',
102+
type: 'RUN_FINISHED',
103+
runId: 'mock-id',
106104
timestamp: Date.now(),
107105
finishReason: 'stop',
106+
model: this.model,
108107
}
109108
}
110109
/* eslint-enable @typescript-eslint/require-await */

0 commit comments

Comments
 (0)