Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

232 B
Raw Blame
package term

import (
	"fmt"
	"os"
	"runtime"
)

func GetOsDetails() string {
	return fmt.Sprintf(
		"OS: %s\nArchitecture: %s\nCPUs: %d\nShell: %s",
		runtime.GOOS,
		runtime.GOARCH,
		runtime.NumCPU(),
		os.Getenv("SHELL"),
	)
}