Files
opencommit-gitea/src
EmilienMottet 6aae1c7bd7 ♻️(engine): extract custom header parsing and update OpenAiEngine
- export parseCustomHeaders from src/utils/engine.ts
- use parseCustomHeaders in OpenAiEngine for config.customHeaders
- remove try/catch and inline JSON.parse logic
- update config test to expect headers as object and drop JSON.parse

Centralize header parsing for reuse and simplify engine code
Update tests to match new header format for clarity
2025-04-30 21:43:44 +02:00
..
2024-09-07 18:17:17 +03:00
2024-12-14 20:02:25 +01:00
2024-09-01 18:21:56 +03:00