Skip to content

Commit 2de8516

Browse files
committed
formatting
1 parent 56b62e1 commit 2de8516

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/providers/anthropic/complete.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import {
55
generateInvalidProviderResponseError,
66
transformFinishReason,
77
} from '../utils';
8-
import { ANTHROPIC_STOP_REASON, AnthropicStreamState, AnthropicErrorResponse } from './types';
8+
import {
9+
ANTHROPIC_STOP_REASON,
10+
AnthropicStreamState,
11+
AnthropicErrorResponse,
12+
} from './types';
913
import { AnthropicErrorResponseTransform } from './utils';
1014

1115
// TODO: this configuration does not enforce the maximum token limit for the input parameter. If you want to enforce this, you might need to add a custom validation function or a max property to the ParameterConfig interface, and then use it in the input configuration. However, this might be complex because the token count is not a simple length check, but depends on the specific tokenization method used by the model.

0 commit comments

Comments
 (0)