Skip to content

Commit bcdb0ef

Browse files
authored
Merge branch 'main' into multi-language
2 parents d9155b7 + fa1f93c commit bcdb0ef

32 files changed

Lines changed: 2710 additions & 1758 deletions

.github/workflows/mypy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ jobs:
2222

2323
- name: Install uv
2424
uses: astral-sh/setup-uv@v6
25-
with:
26-
version: "0.5.30"
2725

2826
- name: sync uv
2927
run: |
28+
uv venv --seed
3029
uv sync
3130
3231

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,6 @@ tessl.json
262262
**/node_modules/**
263263
/dist-nuitka/main.dist/*
264264
packages/codeflash/.npmrc
265+
266+
# Tessl auto-generates AGENTS.md on install; ignore to avoid cluttering git status
267+
AGENTS.md

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ else:
8888
- Commit message body should be concise (1-2 sentences max)
8989
- PR titles should also use conventional format
9090

91+
<!-- Section below is auto-generated by `tessl install` - do not edit manually -->
92+
9193
# Agent Rules <!-- tessl-managed -->
9294

9395
@.tessl/RULES.md follow the [instructions](.tessl/RULES.md)
96+
97+
@AGENTS.md

codeflash/LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Business Source License 1.1
33
Parameters
44

55
Licensor: CodeFlash Inc.
6-
Licensed Work: Codeflash Client version 0.19.x
6+
Licensed Work: Codeflash Client version 0.20.x
77
The Licensed Work is (c) 2024 CodeFlash Inc.
88

99
Additional Use Grant: None. Production use of the Licensed Work is only permitted
@@ -13,7 +13,7 @@ Additional Use Grant: None. Production use of the Licensed Work is only permitte
1313
Platform. Please visit codeflash.ai for further
1414
information.
1515

16-
Change Date: 2029-12-21
16+
Change Date: 2030-01-26
1717

1818
Change License: MIT
1919

codeflash/api/aiservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def get_jit_rewritten_code( # noqa: D417
268268
logger.info("!lsp|Rewriting as a JIT function…")
269269
console.rule()
270270
try:
271-
response = self.make_ai_service_request("/rewrite_jit", payload=payload, timeout=60)
271+
response = self.make_ai_service_request("/rewrite_jit", payload=payload, timeout=self.timeout)
272272
except requests.exceptions.RequestException as e:
273273
logger.exception(f"Error generating jit rewritten candidate: {e}")
274274
ph("cli-jit-rewrite-error-caught", {"error": str(e)})

codeflash/cli_cmds/cli.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def parse_args() -> Namespace:
8484
parser.add_argument(
8585
"--no-gen-tests", action="store_true", help="Do not generate tests, use only existing tests for optimization."
8686
)
87+
parser.add_argument(
88+
"--no-jit-opts", action="store_true", help="Do not generate JIT-compiled optimizations for numerical code."
89+
)
8790
parser.add_argument("--staging-review", action="store_true", help="Upload optimizations to staging for review")
8891
parser.add_argument(
8992
"--verify-setup",

0 commit comments

Comments
 (0)