Skip to content

Commit 6fd40b0

Browse files
committed
chore: fix ci problem
1 parent 8da9b11 commit 6fd40b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/server/model/prompt/survey.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { calcOpenAIToken } from '../openai.js';
77

88
describe('buildSurveyClassifyPrompt', () => {
99
test('prompt token', () => {
10-
const prompt = buildSurveyClassifyPrompt([], []);
10+
const { prompt } = buildSurveyClassifyPrompt([], []);
1111

1212
expect(calcOpenAIToken(prompt)).toBe(basicSurveyClassifyPromptToken);
1313
});

src/server/model/prompt/survey.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ${result.map((item) => JSON.stringify(item)).join('\n')}
8383
];
8484
}
8585

86-
export const basicSurveyClassifyPromptToken = 101;
86+
export const basicSurveyClassifyPromptToken = 465;
8787

8888
export function buildSurveyClassifyPrompt(
8989
data: {

0 commit comments

Comments
 (0)