Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentTuning
/ escape
Function
escape
AgentBench.old/src/tasks/dbbench/__init__.py:55–58 ·
view source on GitHub ↗
(string: str, conn)
Source
from the content-addressed store, hash-verified
53
54
55
def
escape(string: str, conn):
56
if
type(string) is not str:
57
string = str(string)
58
return
conn._cmysql.escape_string(string).decode(
"utf-8"
)
59
60
61
def
process(receiver, max_round):
Callers
12
build_sql
Function · 0.85
process
Function · 0.85
run_web_agent_site_env.py
File · 0.85
worker
Function · 0.85
wa.js
File · 0.85
trackAllFormValues
Function · 0.85
trackLogin
Function · 0.85
trackToggleLocale
Function · 0.85
captureLinkHref
Function · 0.85
captureExtLink
Function · 0.85
captureExtClickThru
Function · 0.85
aaCookie.js
File · 0.85
Calls
1
decode
Method · 0.80
Tested by
no test coverage detected