CLI should import RAG commands via go-ai (which already depends on go-rag), not directly. This keeps the CLI's dependency tree clean. Co-Authored-By: Virgil <virgil@lethean.io>
7 lines
256 B
Go
7 lines
256 B
Go
// Package rag re-exports go-rag's CLI commands for use in the core CLI.
|
|
package rag
|
|
|
|
import ragcmd "forge.lthn.ai/core/go-rag/cmd/rag"
|
|
|
|
// AddRAGSubcommands registers RAG commands as subcommands of parent.
|
|
var AddRAGSubcommands = ragcmd.AddRAGSubcommands
|