Skip to content

Commit

Permalink
Fixing typos (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Apr 13, 2024
1 parent e0d0801 commit ea551f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ FunctionDefinition{
},
"unit": {
Type: jsonschema.String,
Enum: []string{"celcius", "fahrenheit"},
Enum: []string{"celsius", "fahrenheit"},
},
},
Required: []string{"location"},
Expand Down
4 changes: 2 additions & 2 deletions assistant.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (c *Client) ListAssistants(
order *string,
after *string,
before *string,
) (reponse AssistantsList, err error) {
) (response AssistantsList, err error) {
urlValues := url.Values{}
if limit != nil {
urlValues.Add("limit", fmt.Sprintf("%d", *limit))
Expand All @@ -208,7 +208,7 @@ func (c *Client) ListAssistants(
return
}

err = c.sendRequest(req, &reponse)
err = c.sendRequest(req, &response)
return
}

Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func TestClientReturnsRequestBuilderErrors(t *testing.T) {
}
}

func TestClientReturnsRequestBuilderErrorsAddtion(t *testing.T) {
func TestClientReturnsRequestBuilderErrorsAddition(t *testing.T) {
config := DefaultConfig(test.GetTestToken())
client := NewClientWithConfig(config)
client.requestBuilder = &failingRequestBuilder{}
Expand Down
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type InnerError struct {
ContentFilterResults ContentFilterResults `json:"content_filter_result,omitempty"`
}

// RequestError provides informations about generic request errors.
// RequestError provides information about generic request errors.
type RequestError struct {
HTTPStatusCode int
Err error
Expand Down

0 comments on commit ea551f4

Please sign in to comment.