mirror of
https://github.com/zhengkai/orca.git
synced 2026-02-23 14:32:27 +08:00
feat: vertexai
This commit is contained in:
@@ -32,6 +32,7 @@ func (c *Core) getAB(p *pb.Req, r *http.Request) (ab []byte, cached bool, pr *ro
|
||||
go func() {
|
||||
reqFile := util.CacheName(p.Hash()) + `-req.json`
|
||||
if !util.FileExists(reqFile) {
|
||||
util.Mkdir(reqFile)
|
||||
util.WriteFile(reqFile, p.Body)
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user