Skip to content

Commit ff24222

Browse files
author
Tony Worm
committed
(human) a few little bug fixes
1 parent 5577c4e commit ff24222

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/agent/agents/cue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func RenderInstructions(cfg *config.Config, agt config.Agent, environMDs map[str
377377

378378
func RenderInstructionsWithNameAndState(cfg *config.Config, agt config.Agent, name string, state map[string]any, environMDs map[string]string) (string, error) {
379379
// TODO, this last arg is annoying, should have two funcs
380-
fmt.Println("RenderInstructions.Agent", agt.Name)
380+
// fmt.Println("RenderInstructions.Agent", agt.Name)
381381

382382
var err error
383383
var t *templates.Template

lib/config/init.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@ func init() {
5454
Veg.DaggerEngineConfig = filepath.Join(configDir, "veg", "dagger-engine.json")
5555
}
5656

57+
os.MkdirAll(filepath.Join(configDir, "veg"), 0755)
58+
os.MkdirAll(filepath.Join(cacheDir, "veg"), 0755)
59+
os.MkdirAll(Veg.UserDataDir, 0755)
60+
os.MkdirAll(Veg.RegistryData, 0755)
61+
5762
}

0 commit comments

Comments
 (0)