fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
19
vendor/github.com/openai/openai-go/packages/param/null.go
generated
vendored
Normal file
19
vendor/github.com/openai/openai-go/packages/param/null.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package param
|
||||
|
||||
import "github.com/openai/openai-go/internal/encoding/json/sentinel"
|
||||
|
||||
// NullMap returns a non-nil map with a length of 0.
|
||||
// When used with [MarshalObject] or [MarshalUnion], it will be marshaled as null.
|
||||
//
|
||||
// It is unspecified behavior to mutate the map returned by [NullMap].
|
||||
func NullMap[MapT ~map[string]T, T any]() MapT {
|
||||
return sentinel.NewNullSentinel(func() MapT { return make(MapT, 1) })
|
||||
}
|
||||
|
||||
// NullSlice returns a non-nil slice with a length of 0.
|
||||
// When used with [MarshalObject] or [MarshalUnion], it will be marshaled as null.
|
||||
//
|
||||
// It is unspecified behavior to mutate the slice returned by [NullSlice].
|
||||
func NullSlice[SliceT ~[]T, T any]() SliceT {
|
||||
return sentinel.NewNullSentinel(func() SliceT { return make(SliceT, 0, 1) })
|
||||
}
|
||||
Reference in New Issue
Block a user