feat: 新增 /run 接口,在 go-judge 沙箱中编译运行 C/C++

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-22 16:27:02 +08:00
1 parent a5cfdc1bb6
commit 3c3169bd26
5 files changed
+151 -2

No files matched your search

Generated
+3 -1
View File
@@ -1,5 +1,5 @@
version = 1
revision = 3
revision = 5
requires-python = ">=3.12"
[[package]]
@@ -73,6 +73,7 @@ source = { virtual = "." }
dependencies = [
{ name = "aiosqlite" },
{ name = "fastapi" },
{ name = "httpx" },
{ name = "openai" },
{ name = "pydantic" },
{ name = "python-dotenv" },
@@ -91,6 +92,7 @@ dev = [
requires-dist = [
{ name = "aiosqlite", specifier = "==0.21" },
{ name = "fastapi", specifier = ">=0.119.1" },
{ name = "httpx", specifier = ">=0.28.1" },
{ name = "openai", specifier = ">=2.6.0" },
{ name = "pydantic", specifier = ">=2.12.3" },
{ name = "python-dotenv", specifier = ">=1.1.1" },