Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ var _ = Describe("Agent test", func() {
It("pick the correct action", func() {
agent, err := New(
WithLLMAPIURL(apiURL),
WithLLMAPIKey(apiKeyURL),
WithModel(testModel),
EnableForceReasoning,
WithTimeout("10m"),
Expand Down Expand Up @@ -183,6 +184,7 @@ var _ = Describe("Agent test", func() {
It("pick the correct action", func() {
agent, err := New(
WithLLMAPIURL(apiURL),
WithLLMAPIKey(apiKeyURL),
WithModel(testModel),
WithTimeout("10m"),
// WithRandomIdentity(),
Expand All @@ -208,6 +210,7 @@ var _ = Describe("Agent test", func() {
It("updates the state with internal actions", func() {
agent, err := New(
WithLLMAPIURL(apiURL),
WithLLMAPIKey(apiKeyURL),
WithModel(testModel),
WithTimeout("10m"),
EnableHUD,
Expand Down Expand Up @@ -329,6 +332,7 @@ var _ = Describe("Agent test", func() {
It("it automatically performs things in the background", func() {
agent, err := New(
WithLLMAPIURL(apiURL),
WithLLMAPIKey(apiKeyURL),
WithModel(testModel),
EnableHUD,
EnableStandaloneJob,
Expand Down
2 changes: 2 additions & 0 deletions core/agent/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var _ = Describe("Agent test", func() {
var err error
agent, err = New(
WithLLMAPIURL(apiURL),
WithLLMAPIKey(apiKeyURL),
WithModel(testModel),
WithTimeout("10m"),
WithRandomIdentity(),
Expand All @@ -46,6 +47,7 @@ var _ = Describe("Agent test", func() {

agent, err := New(
WithLLMAPIURL(apiURL),
WithLLMAPIKey(apiKeyURL),
WithModel(testModel),
WithRandomIdentity("An 90-year old man with a long beard, a wizard, who lives in a tower."),
)
Expand Down
Loading