build(deps): upgrade github.com/samcharles93/ai-sdk to v0.1.29
This commit is contained in:
1 parent
b369f24360
commit
08eebcdf5a
4 files changed
+13
-8
No files matched your search
+2
-1
@@ -644,7 +644,8 @@ func (a chatTaskActorAdapter) ApplyChatTaskAction(
|
||||
if err != nil {
|
||||
return gateway.TaskActionResult{}, fmt.Errorf("marshal action request: %w", err)
|
||||
}
|
||||
req := httptest.NewRequestWithContext(ctx, http.MethodPost,
|
||||
req := httptest.NewRequestWithContext(
|
||||
ctx, http.MethodPost,
|
||||
fmt.Sprintf("/api/tasks/%d/action", taskID),
|
||||
bytes.NewReader(body),
|
||||
)
|
||||
|
||||
@@ -72,7 +72,7 @@ require (
|
||||
github.com/moby/moby/client v0.5.1
|
||||
github.com/nats-io/nats-server/v2 v2.14.4
|
||||
github.com/nats-io/nats.go v1.52.0
|
||||
github.com/samcharles93/ai-sdk v0.1.25
|
||||
github.com/samcharles93/ai-sdk v0.1.29
|
||||
github.com/traefik/yaegi v0.16.1
|
||||
golang.org/x/net v0.57.0
|
||||
golang.org/x/term v0.45.0
|
||||
|
||||
@@ -126,8 +126,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94
|
||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
|
||||
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
||||
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
||||
github.com/samcharles93/ai-sdk v0.1.25 h1:30cvHZBw01XRif2cOG/PToC7xTQUZ5DHwMOShT8zSnw=
|
||||
github.com/samcharles93/ai-sdk v0.1.25/go.mod h1:a4JYsUrwGsmm2eiXgrpcKExtYe7uHQ5zsHDbbkcPB6o=
|
||||
github.com/samcharles93/ai-sdk v0.1.29 h1:qK+TfjlOazAzKqBFlL1KLFeKDhR9tpKOsHO+FdlhArM=
|
||||
github.com/samcharles93/ai-sdk v0.1.29/go.mod h1:a4JYsUrwGsmm2eiXgrpcKExtYe7uHQ5zsHDbbkcPB6o=
|
||||
github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
|
||||
github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
|
||||
@@ -297,7 +297,8 @@ func appendInt(dst []byte, n int) []byte {
|
||||
// must still produce a Cursor equal to the input -- otherwise the caller
|
||||
// cannot distinguish "no matches ahead" from "I lost my place".
|
||||
func TestPageCursorAdvancesWithFile(t *testing.T) {
|
||||
path := writeLog(t,
|
||||
path := writeLog(
|
||||
t,
|
||||
line("INFO", "first"),
|
||||
line("INFO", "second"),
|
||||
line("INFO", "third"),
|
||||
@@ -333,7 +334,8 @@ func TestPageCursorPastEOFIsEmpty(t *testing.T) {
|
||||
// boundary behaviour directly.
|
||||
func TestQuerySinceUntilFilters(t *testing.T) {
|
||||
// Three entries: two seconds apart on the same minute.
|
||||
path := writeLog(t,
|
||||
path := writeLog(
|
||||
t,
|
||||
`{"time":"2026-08-04T01:00:00Z","level":"INFO","msg":"early"}`,
|
||||
`{"time":"2026-08-04T01:00:02Z","level":"INFO","msg":"middle"}`,
|
||||
`{"time":"2026-08-04T01:00:04Z","level":"INFO","msg":"late"}`,
|
||||
@@ -388,7 +390,8 @@ func TestTimeBoundsExcludeUnparseableTimestamps(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
path := writeLog(t,
|
||||
path := writeLog(
|
||||
t,
|
||||
`{"level":"INFO","msg":"no-time-field"}`,
|
||||
`{"time":"not a timestamp","level":"INFO","msg":"unparseable-time"}`,
|
||||
`{"time":"2026-08-04T01:00:02Z","level":"INFO","msg":"has-time"}`,
|
||||
@@ -472,7 +475,8 @@ func TestPageRespectsFilter(t *testing.T) {
|
||||
// unread, and a caller that follows PageResult's documented "cursor ==
|
||||
// file size means done" rule would loop.
|
||||
func TestPageCursorAtEOFWithTrailingNonMatchingLines(t *testing.T) {
|
||||
path := writeLog(t,
|
||||
path := writeLog(
|
||||
t,
|
||||
line("ERROR", "e1"),
|
||||
line("INFO", "i1"),
|
||||
line("INFO", "i2"),
|
||||
|
||||
Reference in new issue
Block a user