Skip to content

Commit ab628e1

Browse files
Align OpenAI token params test location with test layout
Move openai-token-params.test.mjs from src/services/apis to tests/unit/services/apis so test files follow the same layout as other unit tests. Update the import path after the move. This is a consistency-only change and does not alter runtime behavior. cc #922 #924
1 parent a410842 commit ab628e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/apis/openai-token-params.test.mjs renamed to tests/unit/services/apis/openai-token-params.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test from 'node:test'
22
import assert from 'node:assert/strict'
3-
import { getChatCompletionsTokenParams } from './openai-token-params.mjs'
3+
import { getChatCompletionsTokenParams } from '../../../../src/services/apis/openai-token-params.mjs'
44

55
test('uses max_completion_tokens for gpt-5.x chat models', () => {
66
assert.deepEqual(getChatCompletionsTokenParams('openai', 'gpt-5.2-chat-latest', 1024), {

0 commit comments

Comments
 (0)