Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit e80b4cf

Browse files
committed
fix: fmt
1 parent 33539e2 commit e80b4cf

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

internal/llm/provider/bedrock.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func newBedrockClient(opts providerClientOptions) BedrockClient {
5555
if strings.Contains(string(opts.model.APIModel), "anthropic") {
5656
// Create Anthropic client with Bedrock configuration
5757
anthropicOpts := opts
58-
anthropicOpts.anthropicOptions = append(anthropicOpts.anthropicOptions,
58+
anthropicOpts.anthropicOptions = append(anthropicOpts.anthropicOptions,
5959
WithAnthropicBedrock(true),
6060
WithAnthropicDisableCache(),
6161
)
@@ -84,7 +84,7 @@ func (b *bedrockClient) send(ctx context.Context, messages []message.Message, to
8484

8585
func (b *bedrockClient) stream(ctx context.Context, messages []message.Message, tools []tools.BaseTool) <-chan ProviderEvent {
8686
eventChan := make(chan ProviderEvent)
87-
87+
8888
if b.childProvider == nil {
8989
go func() {
9090
eventChan <- ProviderEvent{
@@ -95,6 +95,6 @@ func (b *bedrockClient) stream(ctx context.Context, messages []message.Message,
9595
}()
9696
return eventChan
9797
}
98-
98+
9999
return b.childProvider.stream(ctx, messages, tools)
100-
}
100+
}

internal/lsp/client.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ func (c *Client) openKeyConfigFiles(ctx context.Context) {
389389
filepath.Join(workDir, "package.json"),
390390
filepath.Join(workDir, "jsconfig.json"),
391391
}
392-
392+
393393
// Also find and open a few TypeScript files to help the server initialize
394394
c.openTypeScriptFiles(ctx, workDir)
395395
case ServerTypeGo:
@@ -547,12 +547,12 @@ func (c *Client) openTypeScriptFiles(ctx context.Context, workDir string) {
547547
// shouldSkipDir returns true if the directory should be skipped during file search
548548
func shouldSkipDir(path string) bool {
549549
dirName := filepath.Base(path)
550-
550+
551551
// Skip hidden directories
552552
if strings.HasPrefix(dirName, ".") {
553553
return true
554554
}
555-
555+
556556
// Skip common directories that won't contain relevant source files
557557
skipDirs := map[string]bool{
558558
"node_modules": true,
@@ -562,7 +562,7 @@ func shouldSkipDir(path string) bool {
562562
"vendor": true,
563563
"target": true,
564564
}
565-
565+
566566
return skipDirs[dirName]
567567
}
568568

internal/tui/styles/icons.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ const (
1010
HintIcon string = "i"
1111
SpinnerIcon string = "..."
1212
LoadingIcon string = "⟳"
13-
)
13+
)

0 commit comments

Comments
 (0)