> ## Documentation Index
> Fetch the complete documentation index at: https://niceeval.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# niceeval.config.ts

> niceeval 项目配置参考。

`niceeval.config.ts` 只保存项目级默认值；具体怎么跑由 `experiments/` 下的 `defineExperiment` 决定。

```ts theme={null}
import { defineConfig } from "niceeval";

export default defineConfig({
  judge: { model: "gpt-5.4-mini" },
  sandbox: "auto",
  maxConcurrency: 4,
  timeoutMs: 300_000,
});
```

<ParamField body="judge" type="JudgeConfig">
  `t.judge.autoevals.*` 使用的默认 judge 配置。
</ParamField>

<ParamField body="reporters" type="Reporter[]">
  自定义 reporter 列表。
</ParamField>

<ParamField body="maxConcurrency" type="number">
  最大并发 attempt 数。
</ParamField>

<ParamField body="timeoutMs" type="number">
  单个 attempt 超时时间。
</ParamField>

<ParamField body="sandbox" type="SandboxOption">
  默认 sandbox 后端。文件上传由 eval 自己显式调用 `t.sandbox.uploadDirectory(...)` 等 API。
</ParamField>
