Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions cel/fieldpaths_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ func TestFieldPathsForTestAllTypes(t *testing.T) {
p := env.CELTypeProvider()

paths := fieldPathsForType(p, "t", ObjectType("cel.expr.conformance.proto3.NestedTestAllTypes"))
pathStrings := make([]string, 0, len(paths))
for i, path := range paths {
t.Logf("path %d: %v", i, path.path)
pathStrings = append(pathStrings, path.path)
}

tcs := []struct {
path string
Expand Down
2 changes: 1 addition & 1 deletion cel/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func AuthoringPrompt(env *Env) (*Prompt, error) {
}, nil
}

// AuthoringPrompt creates a prompt template from a CEL environment for the purpose of AI-assisted authoring.
// AuthoringPromptWithFieldPaths creates a prompt template from a CEL environment for the purpose of AI-assisted authoring.
// Includes documentation for all of the reachable field paths in the environment.
func AuthoringPromptWithFieldPaths(env *Env) (*Prompt, error) {
p, err := AuthoringPrompt(env)
Expand Down