Skip to content

Commit 85a38d3

Browse files
committed
refactor: rename ChatCompletionStream to FIMChatCompletionStream for clarity
1 parent 312208b commit 85a38d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func (c *Client) CreateFIMCompletion(
124124
func (c *Client) CreateFIMStreamCompletion(
125125
ctx context.Context,
126126
request *FIMStreamCompletionRequest,
127-
) (ChatCompletionStream, error) {
127+
) (FIMChatCompletionStream, error) {
128128
baseURL := "https://api.deepseek.com/beta/"
129129

130130
request.Stream = true
@@ -148,7 +148,7 @@ func (c *Client) CreateFIMStreamCompletion(
148148
}
149149

150150
ctx, cancel := context.WithCancel(ctx)
151-
stream := &chatCompletionStream{
151+
stream := &fimCompletionStream{
152152
ctx: ctx,
153153
cancel: cancel,
154154
resp: resp,

0 commit comments

Comments
 (0)