Skip to content

Commit

Permalink
Drop banner and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
billytrend-cohere committed Apr 5, 2024
1 parent 808f7f8 commit 69d8026
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .fernignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Specify files that shouldn't be modified by Fern
README.md
banner.png
LICENSE
.github/workflows/e2e.yml
tests/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cohere Go Library

![](banner.png)
![](https://raw.githubusercontent.com/cohere-ai/cohere-typescript/5188b11a6e91727fdd4d46f4a690419ad204224d/banner.png)

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)
[![go shield](https://img.shields.io/badge/go-docs-blue)](https://pkg.go.dev/github.com/cohere-ai/cohere-go/v2)
Expand Down
Binary file removed banner.png
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestNewClient(t *testing.T) {
context.TODO(),
&cohere.TokenizeRequest{
Text: str,
Model: strPointer("base"),
Model: "base",
},
)

Expand Down Expand Up @@ -357,7 +357,7 @@ func TestNewClient(t *testing.T) {
Description: "Connects to a database about sales volumes",
ParameterDefinitions: map[string]*cohere.ToolParameterDefinitionsValue{
"day": {
Description: "Retrieves sales data from this day, formatted as YYYY-MM-DD.",
Description: strPointer("Retrieves sales data from this day, formatted as YYYY-MM-DD."),
Type: "str",
Required: boolPointer(true),
},
Expand Down

0 comments on commit 69d8026

Please sign in to comment.