MCPcopy Create free account
hub / github.com/WangHanLinHenry/SPA-RL-Agent / preprocess_sql

Function preprocess_sql

eval_agent/tasks/intercode_sql.py:14–18  ·  view source on GitHub ↗
(record: Dict)

Source from the content-addressed store, hash-verified

12
13
14def preprocess_sql(record: Dict) -> str:
15 # logger.info(record)
16 db = record['extra']["db"]
17
18 return f"use {db}"
19
20
21class IntercodeSQLTask(Task):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected