This commit is contained in:
Ettore Di Giacinto
2025-04-08 22:18:32 +02:00
parent 894dde9256
commit e7111c6554
97 changed files with 329 additions and 329 deletions

View File

@@ -6,10 +6,10 @@ import (
"fmt"
"os"
"github.com/mudler/LocalAgent/core/action"
"github.com/mudler/LocalAgent/core/types"
"github.com/mudler/LocalAGI/core/action"
"github.com/mudler/LocalAGI/core/types"
"github.com/mudler/LocalAgent/pkg/xlog"
"github.com/mudler/LocalAGI/pkg/xlog"
"github.com/sashabaranov/go-openai"
)

View File

@@ -7,11 +7,11 @@ import (
"sync"
"time"
"github.com/mudler/LocalAgent/pkg/xlog"
"github.com/mudler/LocalAGI/pkg/xlog"
"github.com/mudler/LocalAgent/core/action"
"github.com/mudler/LocalAgent/core/types"
"github.com/mudler/LocalAgent/pkg/llm"
"github.com/mudler/LocalAGI/core/action"
"github.com/mudler/LocalAGI/core/types"
"github.com/mudler/LocalAGI/pkg/llm"
"github.com/sashabaranov/go-openai"
)

View File

@@ -13,7 +13,7 @@ func TestAgent(t *testing.T) {
RunSpecs(t, "Agent test suite")
}
var testModel = os.Getenv("LOCALAGENT_MODEL")
var testModel = os.Getenv("LOCALAGI_MODEL")
var apiURL = os.Getenv("LOCALAI_API_URL")
var apiKeyURL = os.Getenv("LOCALAI_API_KEY")

View File

@@ -6,11 +6,11 @@ import (
"strings"
"sync"
"github.com/mudler/LocalAgent/pkg/xlog"
"github.com/mudler/LocalAgent/services/actions"
"github.com/mudler/LocalAGI/pkg/xlog"
"github.com/mudler/LocalAGI/services/actions"
. "github.com/mudler/LocalAgent/core/agent"
"github.com/mudler/LocalAgent/core/types"
. "github.com/mudler/LocalAGI/core/agent"
"github.com/mudler/LocalAGI/core/types"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/sashabaranov/go-openai"

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/mudler/LocalAgent/pkg/llm"
"github.com/mudler/LocalAGI/pkg/llm"
)
func (a *Agent) generateIdentity(guidance string) error {

View File

@@ -6,7 +6,7 @@ import (
"path/filepath"
"time"
"github.com/mudler/LocalAgent/pkg/xlog"
"github.com/mudler/LocalAGI/pkg/xlog"
"github.com/sashabaranov/go-openai"
)

View File

@@ -7,8 +7,8 @@ import (
mcp "github.com/metoro-io/mcp-golang"
"github.com/metoro-io/mcp-golang/transport/http"
"github.com/mudler/LocalAgent/core/types"
"github.com/mudler/LocalAgent/pkg/xlog"
"github.com/mudler/LocalAGI/core/types"
"github.com/mudler/LocalAGI/pkg/xlog"
"github.com/sashabaranov/go-openai/jsonschema"
)

View File

@@ -5,7 +5,7 @@ import (
"strings"
"time"
"github.com/mudler/LocalAgent/core/types"
"github.com/mudler/LocalAGI/core/types"
"github.com/sashabaranov/go-openai"
)

View File

@@ -6,7 +6,7 @@ import (
"os"
"path/filepath"
"github.com/mudler/LocalAgent/core/action"
"github.com/mudler/LocalAGI/core/action"
"github.com/sashabaranov/go-openai/jsonschema"
)

View File

@@ -1,7 +1,7 @@
package agent_test
import (
. "github.com/mudler/LocalAgent/core/agent"
. "github.com/mudler/LocalAGI/core/agent"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

View File

@@ -5,7 +5,7 @@ import (
"html/template"
"time"
"github.com/mudler/LocalAgent/core/types"
"github.com/mudler/LocalAGI/core/types"
"github.com/sashabaranov/go-openai"
)