feat: add argument --with-uixt to start built-in uixt MCP server

This commit is contained in:
lilong.129
2025-05-20 22:36:46 +08:00
parent 037e69315e
commit 0c20fe7b02
11 changed files with 84 additions and 31 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
)
func TestRunPromptWithNoToolCall(t *testing.T) {
host, err := NewMCPHost("./testdata/test.mcp.json")
host, err := NewMCPHost("./testdata/test.mcp.json", true)
require.NoError(t, err)
chat, err := host.NewChat(context.Background())
@@ -21,7 +21,7 @@ func TestRunPromptWithNoToolCall(t *testing.T) {
}
func TestRunPromptWithToolCall(t *testing.T) {
host, err := NewMCPHost("./testdata/test.mcp.json")
host, err := NewMCPHost("./testdata/test.mcp.json", true)
require.NoError(t, err)
chat, err := host.NewChat(context.Background())