mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-29 08:27:30 +08:00
refactor: stabilize runtime and unify config
This commit is contained in:
@@ -22,11 +22,7 @@ func memoryNamespaceBaseDir(workspace, namespace string) string {
|
||||
}
|
||||
|
||||
func parseMemoryNamespaceArg(args map[string]interface{}) string {
|
||||
if args == nil {
|
||||
return "main"
|
||||
}
|
||||
raw, _ := args["namespace"].(string)
|
||||
return normalizeMemoryNamespace(raw)
|
||||
return normalizeMemoryNamespace(MapStringArg(args, "namespace"))
|
||||
}
|
||||
|
||||
func isPathUnder(parent, child string) bool {
|
||||
|
||||
Reference in New Issue
Block a user