Skip to content

Commit 1ea842e

Browse files
solomonneascodex
andcommitted
fix(cli): use bundled TOML parser under no-site Python
Co-Authored-By: Codex <codex@openai.com>
1 parent 16efca0 commit 1ea842e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/brigade/research/config.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
from pathlib import Path
33
from typing import Any, Dict, List
44

5-
try:
6-
import tomllib # py3.11+
7-
except ModuleNotFoundError: # py3.10
8-
import tomli as tomllib # type: ignore
5+
from .. import toml_compat as tomllib
96

107

118
class ResearchConfig:

0 commit comments

Comments
 (0)