Change summary
claudetool/browse/browse.go | 2 +-
llm/imageutil/resize_test.go | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
Detailed changes
@@ -67,7 +67,7 @@ func NewBrowseTools(ctx context.Context, idleTimeout time.Duration, maxImageDime
consoleLogs: make([]*runtime.EventConsoleAPICalled, 0),
maxConsoleLogs: 100,
maxImageDimension: maxImageDimension,
- idleTimeout: idleTimeout,
+ idleTimeout: idleTimeout,
}
}
@@ -24,12 +24,12 @@ func createTestPNG(t *testing.T, width, height int) []byte {
func TestResizeImage(t *testing.T) {
tests := []struct {
- name string
- width int
- height int
- maxDim int
- wantResize bool
- wantMaxDim int
+ name string
+ width int
+ height int
+ maxDim int
+ wantResize bool
+ wantMaxDim int
}{
{"small image", 800, 600, 2000, false, 800},
{"at limit", 2000, 2000, 2000, false, 2000},