Documentation
¶
Index ¶
- func FindDuplicate(dst provider.Provider, conv *model.Conversation) (*provider.WriteResult, bool)
- func FindExistingMigration(storagePath, originDigest string) (string, bool)
- func ResolveSession(ctx context.Context, reg *registry.Registry, idx *index.Store, id, from string) (*model.Summary, provider.Provider, error)
- type Engine
- type Options
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDuplicate ¶
func FindDuplicate(dst provider.Provider, conv *model.Conversation) (*provider.WriteResult, bool)
FindDuplicate searches target provider storage for an existing migration of conv.
func FindExistingMigration ¶
FindExistingMigration scans JSONL storage for agenthop_migration metadata matching origin digest.
Types ¶
type Result ¶
type Result struct {
Source *model.Conversation
Write *provider.WriteResult
Resume string
TargetName string
AlreadyExists bool
}
Click to show internal directories.
Click to hide internal directories.