Skip to content

Commit f86d763

Browse files
committed
fix: use relative imports for SDK in evaluation scripts [remote-eval]
1 parent 21d92d2 commit f86d763

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

evals/git-evals/run-git-evals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { promptAiSdkStructured } from '@codebuff/backend/llm-apis/vercel-ai-sdk/
66
import { models } from '@codebuff/common/constants'
77
import { generateCompactId } from '@codebuff/common/util/string'
88
import { withTimeout } from '@codebuff/common/util/promise'
9-
import { CodebuffClient } from '@codebuff/sdk'
9+
import { CodebuffClient } from '../../sdk/src/client'
1010
import pLimit from 'p-limit'
1111

1212
import {

evals/git-evals/run-single-eval-simple-sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { execSync } from 'child_process'
55
import path from 'path'
66

77
import { generateCompactId } from '@codebuff/common/util/string'
8-
import { CodebuffClient } from '@codebuff/sdk'
8+
import { CodebuffClient } from '../../sdk/src/client'
99
import { Command, Flags } from '@oclif/core'
1010

1111
import { extractRepoNameFromUrl, setupTestRepo } from './setup-test-repo'

evals/git-evals/run-single-eval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import fs from 'fs'
44

55
import { generateCompactId } from '@codebuff/common/util/string'
6-
import { CodebuffClient } from '@codebuff/sdk'
6+
import { CodebuffClient } from '../../sdk/src/client'
77
import { Command, Flags } from '@oclif/core'
88

99
import { extractRepoNameFromUrl, setupTestRepo } from './setup-test-repo'

0 commit comments

Comments
 (0)