Skip to content

Commit 2cd7800

Browse files
committed
chore: format code for consistency in provider and test files
1 parent ba118d6 commit 2cd7800

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

providers/lmstudio/provider.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ const defaultBaseURL = "http://localhost:1234/v1"
1414

1515
// Provider implements the Nexus provider interface for LM Studio.
1616
type Provider struct {
17-
inner *openai.Provider
18-
baseURL string
19-
models []provider.Model
20-
extractToolCalls bool
17+
inner *openai.Provider
18+
baseURL string
19+
models []provider.Model
20+
extractToolCalls bool
2121
}
2222

2323
// New creates a new LM Studio provider.

providers/lmstudio/toolcall_extract_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ func (f *fakeStream) Next(_ context.Context) (*provider.StreamChunk, error) {
115115
f.idx++
116116
return c, nil
117117
}
118-
func (f *fakeStream) Close() error { return nil }
119-
func (f *fakeStream) Usage() *provider.Usage { return f.usage }
118+
func (f *fakeStream) Close() error { return nil }
119+
func (f *fakeStream) Usage() *provider.Usage { return f.usage }
120120

121121
func TestExtractingStream_EmitsSyntheticToolCallChunk(t *testing.T) {
122122
// Model dribbles content with a complete marker.

0 commit comments

Comments
 (0)