Skip to content

Compaction support for OpenAI and Anthropic#3279

Merged
ProgrammerIn-wonderland merged 5 commits into
mainfrom
NS/anthropic-openai-compaction
Jun 22, 2026
Merged

Compaction support for OpenAI and Anthropic#3279
ProgrammerIn-wonderland merged 5 commits into
mainfrom
NS/anthropic-openai-compaction

Conversation

@ProgrammerIn-wonderland

Copy link
Copy Markdown
Collaborator

No description provided.

@ProgrammerIn-wonderland ProgrammerIn-wonderland force-pushed the NS/anthropic-openai-compaction branch from 6103275 to 393aabb Compare June 21, 2026 22:47
@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 74.48%
⬆️ +0.08%
15121 / 20300
🔵 Statements 72.98%
⬆️ +0.09%
15984 / 21900
🔵 Functions 72.51%
⬆️ +0.12%
2459 / 3391
🔵 Branches 62.78%
⬆️ +0.09%
10414 / 16586
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
extensions/metering.ts 88%
🟰 ±0%
72.22%
🟰 ±0%
100%
🟰 ±0%
91.11%
🟰 ±0%
16, 19, 24-27, 55, 60-64
src/backend/controllers/puterai/PuterAIController.ts 83.24%
⬆️ +0.71%
62.13%
⬆️ +0.47%
93.33%
⬆️ +0.09%
87.23%
⬆️ +0.58%
186-202, 313-331, 350-354, 1021-1022, 1113-1115, 1175-1177, 1210, 1215, 1233, 1237, 1243-1248, 1255-1272, 1326, 1328, 1347, 1351, 1356-1381, 1385, 1387-1388, 1392, 1403-1404, 1406, 1459, 1478-1482, 1498-1508, 1589-1592, 1600, 1602, 1629, 1637, 1645, 1658, 1662, 1667, 1671, 1682, 1693, 1709, 1727, 1749
src/backend/drivers/ai-chat/types.ts 100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
100%
🟰 ±0%
src/backend/drivers/ai-chat/providers/azure/AzureChatProvider.ts 0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
16-162
src/backend/drivers/ai-chat/providers/azure/AzureResponsesProvider.ts 0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
13-202
src/backend/drivers/ai-chat/providers/claude/ClaudeProvider.ts 79.32%
⬆️ +0.93%
64.7%
⬇️ -0.03%
80.64%
⬇️ -0.12%
79.69%
⬆️ +1.12%
63-66, 72, 96-108, 112-116, 137-140, 214-219, 276-278, 307-312, 320-322, 328-331, 335, 346, 350-354, 453, 457
src/backend/drivers/ai-chat/providers/openai/OpenAiChatCompletionsProvider.ts 93.1%
⬇️ -5.04%
73.21%
⬇️ -2.79%
92.85%
🟰 ±0%
92.85%
⬇️ -5.22%
78-85, 96
src/backend/drivers/ai-chat/providers/openai/OpenAiChatResponsesProvider.ts 96.36%
⬆️ +0.07%
77.77%
⬇️ -0.63%
92.3%
🟰 ±0%
96.29%
⬆️ +0.07%
87, 103
src/backend/drivers/ai-chat/providers/together/TogetherAIProvider.ts 100%
⬆️ +2.23%
84.37%
⬆️ +4.96%
100%
⬆️ +7.70%
100%
⬆️ +2.28%
src/backend/drivers/ai-chat/utils/Messages.js 99.01%
⬆️ +0.01%
92.94%
⬇️ -0.64%
100%
🟰 ±0%
100%
🟰 ±0%
195
src/backend/drivers/ai-chat/utils/OpenAIUtil.js 92.27%
⬆️ +0.61%
82.1%
⬆️ +1.99%
85.18%
⬆️ +1.85%
93.19%
⬆️ +0.11%
122, 132-140, 162, 165, 293, 308-310, 321, 366-370, 427, 503, 522
src/backend/drivers/ai-chat/utils/Streaming.js 96.66%
⬆️ +0.11%
87.5%
⬇️ -5.35%
100%
🟰 ±0%
100%
🟰 ±0%
67
src/backend/drivers/ai-chat/utils/compaction.js 100% 96.42% 100% 100%
src/backend/services/selfhosted/DefaultUserService.ts 78.57%
⬆️ +2.26%
40%
⬆️ +2.50%
100%
🟰 ±0%
84.21%
⬆️ +1.86%
80-83, 86, 91, 115-118, 128-131
Generated in workflow #406 for commit 5170cb3 by the Vitest Coverage Report Action

@ProgrammerIn-wonderland ProgrammerIn-wonderland marked this pull request as draft June 21, 2026 22:52
@ProgrammerIn-wonderland ProgrammerIn-wonderland marked this pull request as ready for review June 22, 2026 01:20
@ProgrammerIn-wonderland ProgrammerIn-wonderland changed the title Alpha: compaction support for OpenAI and Anthropic Compaction support for OpenAI and Anthropic Jun 22, 2026
@ProgrammerIn-wonderland ProgrammerIn-wonderland merged commit 24d7006 into main Jun 22, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant