Changeset 0.25.0 (#160)
This commit is contained in:
@@ -91,6 +91,7 @@ func vectorToString(vec []float64) string {
|
||||
// ═══════════════════════════════════════════
|
||||
|
||||
type noteCreateTool struct {
|
||||
visitorDeniedBase
|
||||
stores store.Stores
|
||||
embedder *knowledge.Embedder
|
||||
}
|
||||
@@ -168,6 +169,7 @@ func (t *noteCreateTool) Execute(ctx context.Context, execCtx ExecutionContext,
|
||||
// ═══════════════════════════════════════════
|
||||
|
||||
type noteSearchTool struct {
|
||||
visitorDeniedBase
|
||||
stores store.Stores
|
||||
embedder *knowledge.Embedder
|
||||
}
|
||||
@@ -347,6 +349,7 @@ type noteSearchResult struct {
|
||||
// ═══════════════════════════════════════════
|
||||
|
||||
type noteUpdateTool struct {
|
||||
visitorDeniedBase
|
||||
stores store.Stores
|
||||
embedder *knowledge.Embedder
|
||||
}
|
||||
@@ -445,7 +448,7 @@ func (t *noteUpdateTool) Execute(ctx context.Context, execCtx ExecutionContext,
|
||||
// note_list
|
||||
// ═══════════════════════════════════════════
|
||||
|
||||
type noteListTool struct{}
|
||||
type noteListTool struct{ visitorDeniedBase }
|
||||
|
||||
func (t *noteListTool) Definition() ToolDef {
|
||||
return ToolDef{
|
||||
|
||||
Reference in New Issue
Block a user