Skip to content

Commit ea551f4

Browse files
authored
Fixing typos (#706)
1 parent e0d0801 commit ea551f4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ FunctionDefinition{
636636
},
637637
"unit": {
638638
Type: jsonschema.String,
639-
Enum: []string{"celcius", "fahrenheit"},
639+
Enum: []string{"celsius", "fahrenheit"},
640640
},
641641
},
642642
Required: []string{"location"},

assistant.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (c *Client) ListAssistants(
181181
order *string,
182182
after *string,
183183
before *string,
184-
) (reponse AssistantsList, err error) {
184+
) (response AssistantsList, err error) {
185185
urlValues := url.Values{}
186186
if limit != nil {
187187
urlValues.Add("limit", fmt.Sprintf("%d", *limit))
@@ -208,7 +208,7 @@ func (c *Client) ListAssistants(
208208
return
209209
}
210210

211-
err = c.sendRequest(req, &reponse)
211+
err = c.sendRequest(req, &response)
212212
return
213213
}
214214

client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ func TestClientReturnsRequestBuilderErrors(t *testing.T) {
406406
}
407407
}
408408

409-
func TestClientReturnsRequestBuilderErrorsAddtion(t *testing.T) {
409+
func TestClientReturnsRequestBuilderErrorsAddition(t *testing.T) {
410410
config := DefaultConfig(test.GetTestToken())
411411
client := NewClientWithConfig(config)
412412
client.requestBuilder = &failingRequestBuilder{}

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type InnerError struct {
2323
ContentFilterResults ContentFilterResults `json:"content_filter_result,omitempty"`
2424
}
2525

26-
// RequestError provides informations about generic request errors.
26+
// RequestError provides information about generic request errors.
2727
type RequestError struct {
2828
HTTPStatusCode int
2929
Err error

0 commit comments

Comments
 (0)