Commit graph

139 commits

Author SHA1 Message Date
Saurabh Misra
7c1933180a
local setup (#1898)
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
Co-authored-by: Mohamed Ashraf <mohamedashrraf222@gmail.com>
Co-authored-by: Aseem Saxena <aseem.bits@gmail.com>
2025-11-17 12:35:09 -08:00
ali
91670b0465
Merge branch 'main' of github.com:codeflash-ai/codeflash-internal into vsc/demo-optimization 2025-11-05 12:29:09 +02:00
ali
a0a77b59f5
skip and continue 2025-11-02 15:28:27 +02:00
ali
f233017045
fixes 2025-10-31 15:43:29 +02:00
Kevin Turcios
c63390c87c formatting and static strings 2025-10-31 08:08:04 -05:00
Kevin Turcios
92f80d1d37 shared instance 2025-10-31 05:51:39 -05:00
ali
369e59d01f
the base for demo optimization 2025-10-30 20:03:48 +03:00
Kevin Turcios
bf203343e3 use ctx manager and use a single session 2025-10-28 21:21:21 -05:00
Kevin Turcios
423648b606 fix demo call 2025-10-17 13:21:40 -07:00
Kevin Turcios
40fdddba1d use openai client 2025-10-17 04:25:59 -07:00
Kevin Turcios
25d8e9f9d2 streamline validation and move model 2025-10-17 04:12:25 -07:00
Kevin Turcios
e4da79f3dc optimize the optimize endpoint 2025-10-17 04:03:22 -07:00
Kevin Turcios
969b7b272f ruff 2025-10-17 03:45:38 -07:00
Kevin Turcios
272329eec5 create log_features_optimized and use it 2025-10-17 03:43:58 -07:00
Kevin Turcios
8ba0bbf2a7 move repository call 2025-10-17 03:32:46 -07:00
Kevin Turcios
4342d2771f clean up demo hack 2025-10-17 02:37:58 -07:00
Kevin Turcios
a7823ed505 Update optimizer.py 2025-10-15 23:46:25 -07:00
Mohamed Ashraf
d25882825d Merge branch 'main' of https://github.com/codeflash-ai/codeflash-internal into fix/silent-500-errors-openai-api 2025-10-15 03:00:38 +03:00
Mohamed Ashraf
ff6da849a9 Add Sentry tracking and broader exception handling for API failures 2025-10-15 02:31:06 +03:00
Kevin Turcios
590b0247f4 fomratting 2025-10-14 00:37:24 -07:00
Kevin Turcios
84d6ca7393 make ruff linter happy 2025-10-14 00:24:40 -07:00
Kevin Turcios
67438dfa4c cleanup 2025-10-14 00:20:13 -07:00
Kevin Turcios
783e045960 sort these 2025-10-14 00:18:54 -07:00
Kevin Turcios
4b715bb353 sort imports and only create optimizations_json once 2025-10-14 00:18:44 -07:00
Kevin Turcios
f292a827f9 refactor use of get_repository 2025-10-14 00:12:58 -07:00
Kevin Turcios
cd2d91880e format only 2025-10-13 23:02:30 -07:00
Mohamed Ashraf
1d42950892 adding the error in the logging.exception 2025-10-13 20:42:43 +03:00
Mohamed Ashraf
7cd361efd5 replaced the old print statements with proper logging calls following the existing patterns 2025-10-13 20:34:13 +03:00
Mohamed Ashraf
96c4416de3 Add comprehensive exception handling for OpenAI API failures 2025-10-10 04:39:18 +03:00
Kevin Turcios
3ff859d526 bypass checks for us 2025-09-28 15:22:27 -07:00
Saurabh Misra
5c21aff466 demo hack
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-09-22 22:54:38 -07:00
Saurabh Misra
e8f45927a8 Merge branch 'refs/heads/main' into demo-hack
# Conflicts:
#	django/aiservice/optimizer/optimizer.py
2025-09-22 22:52:33 -07:00
Saurabh Misra
3ad9cdb59d demo hack
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-09-22 22:47:48 -07:00
Saurabh Misra
ffaf9a42ed demo hack
Signed-off-by: Saurabh Misra <misra.saurabh1@gmail.com>
2025-09-22 22:34:07 -07:00
Kevin Turcios
b8827764cd formatting 2025-09-22 21:06:51 -07:00
Sarthak Agarwal
7703c35cc1
Fix on max score (#1821)
- **Connected #743 in cli**
- **fix to inline i cli and max check**

---------

Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
2025-09-22 18:22:10 -07:00
Sarthak Agarwal
6bba3a3093
Connected https://github.com/codeflash-ai/codeflash/pull/729/files in cli (#1820)
Co-authored-by: saga4 <saga4@codeflashs-MacBook-Air.local>
2025-09-22 15:32:44 -07:00
Kevin Turcios
5f4a46499c Merge branch 'main' into async_allow 2025-09-02 15:30:16 -05:00
Kevin Turcios
1eb26b6ad5 cleanup impl 2025-09-02 15:25:23 -05:00
HeshamHM28
ee55e78add
[Chore ] Save LLM Cost in DB (#1768)
Co-authored-by: Sarthak Agarwal <sarthak.saga@gmail.com>
2025-09-02 00:34:34 +05:30
Kevin Turcios
61b030e47b ruff check fixes 2025-08-07 14:35:21 -07:00
Kevin Turcios
f72ed92ce4 uv run ruff check . 2025-08-07 14:27:08 -07:00
Kevin Turcios
c5dc6011e2 uv run ruff format . 2025-08-07 13:32:55 -07:00
mohammed
9926d6342a
context fixes 2025-08-07 04:34:34 +03:00
mohammed
0f09fd6f07
cleanup 2025-08-06 05:02:25 +03:00
mohammed
ed85877999
markdown context parsing and post-processing 2025-08-06 02:32:19 +03:00
mohammed
ae823978bf
fix __future__ imports in multi-file context 2025-08-05 03:08:29 +03:00
mohammed
cb6ec3cd14
cleanup 2025-08-04 02:07:36 +03:00
mohammed
6c2c356897
fixes and more tests 2025-08-03 18:36:15 +03:00
mohammed
81bc6a0bb5
refactoring
Signed-off-by: mohammed <mohammed18200118@gmail.com>
2025-08-03 12:46:25 +03:00