Skip to content

Commit bf822ba

Browse files
authored
Author closed sets as typed constants (#560)
1 parent c56dafe commit bf822ba

120 files changed

Lines changed: 1019 additions & 709 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ openapi:
4343
output=$$(mktemp -d "$$root/core-openapi.XXXXXX"); trap 'rm -rf "$$output"' EXIT; \
4444
python3 scripts/generate-public-api.py $(OPENAPI_FLAGS) --swag-roots "$$output/roots.go"; \
4545
$(SWAG) init \
46-
-g cmd/server/main.go --dir "./services/core,./contracts/agents-api/v1,$$output" \
46+
-g cmd/server/main.go --dir "./services/core,./contracts/agents-api/v1,./internal/modelprovider,$$output" \
4747
--output "$$output" \
4848
--outputTypes yaml --parseInternal; \
4949
python3 scripts/patch-agents-openapi.py "$$output/swagger.yaml"; \

‎apps/web/src/features/sandbox/SandboxResetControls.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function SandboxResetControls({ deployment, disabled, stale, onStart, onC
2121
const id = useId();
2222
const reset = deployment.reset;
2323
const [dialog, setDialog] = useState<{ action: Action; generation: number; requestedAt: string | null } | null>(null);
24-
const [clear, setClear] = useState<"auto" | "force">("auto");
24+
const [clear, setClear] = useState<StartSandboxReset["clear"]>("auto");
2525
const [deadline, setDeadline] = useState("3600");
2626
const [submitting, setSubmitting] = useState(false);
2727
const changed = dialog !== null && (dialog.generation !== deployment.generation || dialog.requestedAt !== (reset?.requested_at ?? null));

0 commit comments

Comments
 (0)