Skip to content

chore: upgrade to ai SDK v4 #1536

chore: upgrade to ai SDK v4

chore: upgrade to ai SDK v4 #1536

Triggered via pull request December 19, 2024 09:39
@steflstefl
synchronize #459
fix/bump_ai
Status Failure
Total duration 1m 36s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
lint: packages/aila/src/core/llm/OpenAIService.ts#L32
Unexpected `await` of a non-Promise (non-"Thenable") value
lint: packages/aila/src/core/llm/OpenAIService.ts#L56
Unexpected `await` of a non-Promise (non-"Thenable") value
lint
@oakai/aila#lint: command (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/packages/aila) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
lint
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: packages/core/src/models/demoUsers.ts#L50
Async method 'getUserRegion' has no 'await' expression
lint: packages/core/src/models/lessonPlans.ts#L235
Unsafe argument of type `any` assigned to a parameter of type `{}`
lint: packages/core/src/models/lessonPlans.ts#L239
Unsafe argument of type `any` assigned to a parameter of type `string | null | undefined`
lint: packages/core/src/models/lessonPlans.ts#L239
Unsafe member access [key] on an `any` value
lint: packages/core/src/models/lessonPlans.ts#L254
Unsafe argument of type `any` assigned to a parameter of type `string | object | string[]`
lint: packages/core/src/models/lessonPlans.ts#L254
Unsafe member access [key] on an `any` value
lint: packages/core/src/models/lessonPlans.ts#L255
Unsafe member access [key] on an `any` value
lint: packages/core/src/models/lessons.ts#L70
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: packages/core/src/models/lessons.ts#L101
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: packages/core/src/models/prompts.ts#L64
Async method 'requestChatCompletionFromPriorGeneration' has no 'await' expression