Merge pull request #1416 from trheyi/main

Refactor Autonomous Agent Design Document
This commit is contained in:
Max 2026-01-13 10:30:14 +08:00 committed by GitHub
commit 0722571196
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1267 additions and 2131 deletions

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,6 @@ import (
"strings"
"time"
"github.com/fatih/color"
"github.com/gin-gonic/gin"
jsoniter "github.com/json-iterator/go"
"github.com/yaoapp/gou/application"
@ -94,9 +93,7 @@ func (r *Request) Render() (string, int, error) {
if c == nil {
message := fmt.Sprintf("[SUI] The page %s is not cached. file=%s DisableCache=%v", r.Request.URL.Path, r.File, r.Request.DisableCache())
go fmt.Println(color.YellowString(message))
go log.Warn("%s", message)
go log.Warn("[SUI] The page %s is not cached. file=%s DisableCache=%v", r.Request.URL.Path, r.File, r.Request.DisableCache())
var status int
var err error