Skip to content

Conversation

@kaustubhuk8
Copy link
Contributor

@kaustubhuk8 kaustubhuk8 commented Nov 21, 2025

Summary

  • Decoupled all inference/history logic from Echo; DoInference and history routines now accept plain structs + context.Context only.
  • Slimmed HTTP handlers into thin glue layers that just read the HTTP body, build log fields, invoke logic, and write SSE/JSON responses.
  • Added shared helpers (readRequestBody, buildLogFields, writeSSEChunks) so streaming and logging are handled consistently.

WIP

  • Folder restructure

@kaustubhuk8 kaustubhuk8 changed the title Decupling http from logic functions Decoupling http from logic functions Nov 22, 2025
@kaustubhuk8 kaustubhuk8 requested a review from 0ximjosh November 22, 2025 01:30
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.

3 participants