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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go/ai/retriever.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func DefineDocumentStore(
ia := core.DefineAction("indexer", name, core.ActionTypeIndexer, nil, func(ctx context.Context, req *IndexerRequest) (struct{}, error) {
return struct{}{}, index(ctx, req)
})
ra := core.DefineAction("retreiver", name, core.ActionTypeRetriever, nil, retrieve)
ra := core.DefineAction("retriever", name, core.ActionTypeRetriever, nil, retrieve)
return &docStore{ia, ra}
}

Expand Down
2 changes: 1 addition & 1 deletion go/core/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func newDevServeMux(r *registry) *http.ServeMux {
}

// handleRunAction looks up an action by name in the registry, runs it with the
// provded JSON input, and writes back the JSON-marshaled request.
// provided JSON input, and writes back the JSON-marshaled request.
func (s *devServer) handleRunAction(w http.ResponseWriter, r *http.Request) error {
ctx := r.Context()
var body struct {
Expand Down