@ai-sdk/openai-compatible 2.0.36 → 2.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,8 +20,7 @@ export interface OpenAICompatibleSystemMessage extends JsonRecord {
20
20
  content: string;
21
21
  }
22
22
 
23
- export interface OpenAICompatibleUserMessage
24
- extends JsonRecord<OpenAICompatibleContentPart> {
23
+ export interface OpenAICompatibleUserMessage extends JsonRecord<OpenAICompatibleContentPart> {
25
24
  role: 'user';
26
25
  content: string | Array<OpenAICompatibleContentPart>;
27
26
  }
@@ -54,8 +53,7 @@ export interface OpenAICompatibleContentPartFile extends JsonRecord {
54
53
  file: { filename: string; file_data: string };
55
54
  }
56
55
 
57
- export interface OpenAICompatibleAssistantMessage
58
- extends JsonRecord<OpenAICompatibleMessageToolCall> {
56
+ export interface OpenAICompatibleAssistantMessage extends JsonRecord<OpenAICompatibleMessageToolCall> {
59
57
  role: 'assistant';
60
58
  content?: string | null;
61
59
  reasoning_content?: string;
@@ -48,9 +48,7 @@ type OpenAICompatibleCompletionConfig = {
48
48
  supportedUrls?: () => LanguageModelV3['supportedUrls'];
49
49
  };
50
50
 
51
- export class OpenAICompatibleCompletionLanguageModel
52
- implements LanguageModelV3
53
- {
51
+ export class OpenAICompatibleCompletionLanguageModel implements LanguageModelV3 {
54
52
  readonly specificationVersion = 'v3';
55
53
 
56
54
  readonly modelId: OpenAICompatibleCompletionModelId;