Refactor internal services to use agent-desk package structure
- Updated import paths in multiple service files to reflect the new agent-desk module. - Added a new configuration file for agent-desk in the Docker setup.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package chunk
|
||||
|
||||
import (
|
||||
"agent-desk/internal/pkg/enums"
|
||||
"context"
|
||||
"cs-ai-agent/internal/pkg/enums"
|
||||
)
|
||||
|
||||
type fixedProvider struct{}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package chunk
|
||||
|
||||
import (
|
||||
"agent-desk/internal/pkg/enums"
|
||||
"context"
|
||||
"cs-ai-agent/internal/pkg/enums"
|
||||
)
|
||||
|
||||
type Provider interface {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package chunk
|
||||
|
||||
import (
|
||||
"agent-desk/internal/pkg/enums"
|
||||
"context"
|
||||
"cs-ai-agent/internal/pkg/enums"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package chunk
|
||||
|
||||
import (
|
||||
"agent-desk/internal/pkg/enums"
|
||||
"context"
|
||||
"cs-ai-agent/internal/pkg/enums"
|
||||
"strings"
|
||||
|
||||
"github.com/gomarkdown/markdown"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package chunk
|
||||
|
||||
import "cs-ai-agent/internal/pkg/enums"
|
||||
import "agent-desk/internal/pkg/enums"
|
||||
|
||||
type ChunkRequest struct {
|
||||
KnowledgeBaseID int64
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package chunk
|
||||
|
||||
import (
|
||||
"agent-desk/internal/pkg/enums"
|
||||
"crypto/sha256"
|
||||
"cs-ai-agent/internal/pkg/enums"
|
||||
"encoding/hex"
|
||||
"strings"
|
||||
"unicode"
|
||||
|
||||
Reference in New Issue
Block a user