Skip to content

Commit 5c24a23

Browse files
committed
Inference: rename base type, no longer a base, grown into a property
1 parent 231aa47 commit 5c24a23

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

specification/inference/_types/CommonTypes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { RequestBase } from '@_types/Base'
2323
import { Id } from '@_types/common'
2424
import { float, integer, long } from '@_types/Numeric'
2525

26-
export class RequestChatCompletionBase extends RequestBase {
26+
export class RequestChatCompletion extends RequestBase {
2727
/**
2828
* A list of objects representing the conversation.
2929
*/

specification/inference/chat_completion_unified/UnifiedRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { RequestChatCompletionBase } from '@inference/_types/CommonTypes'
20+
import { RequestChatCompletion } from '@inference/_types/CommonTypes'
2121
import { RequestBase } from '@_types/Base'
2222
import { Id } from '@_types/common'
2323
import { Duration } from '@_types/Time'
@@ -49,5 +49,5 @@ export interface Request extends RequestBase {
4949
timeout?: Duration
5050
}
5151
/** @codegen_name chat_completion_request */
52-
body: RequestChatCompletionBase
52+
body: RequestChatCompletion
5353
}

specification/inference/post_eis_chat_completion/PostEisChatCompletionRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { RequestChatCompletionBase } from '@inference/_types/CommonTypes'
20+
import { RequestChatCompletion } from '@inference/_types/CommonTypes'
2121
import { RequestBase } from '@_types/Base'
2222
import { Id } from '@_types/common'
2323
/**
@@ -44,5 +44,5 @@ export interface Request extends RequestBase {
4444
eis_inference_id: Id
4545
}
4646
/** @codegen_name chat_completion_request */
47-
body: RequestChatCompletionBase
47+
body: RequestChatCompletion
4848
}

0 commit comments

Comments
 (0)