Skip to content

feat: add delta-prompt optimization and enhance proxy security#12

Closed
zakat0v-d0t wants to merge 1 commit into
ForgetMeAI:mainfrom
zakat0v-d0t:main
Closed

feat: add delta-prompt optimization and enhance proxy security#12
zakat0v-d0t wants to merge 1 commit into
ForgetMeAI:mainfrom
zakat0v-d0t:main

Conversation

@zakat0v-d0t

Copy link
Copy Markdown
- Optimized session reuse: send only new messages (delta) and filter out previous assistant replies, preventing context duplication and reducing latency.         
- Secured default binding: bind server to 127.0.0.1 by default instead of 0.0.0.0.                                                                                
- Added client auth: support PROXY_API_KEY env variable to require Bearer tokens for incoming requests.                                                           
- Protected privacy: automatically hash client IP addresses in the /v1/sessions endpoint.                                                                         
- Added unit tests for delta and hashing logic.

    Optimized session reuse: send only new messages (delta) and filter out previous assistant replies, preventing context duplication and reducing latency.
    Secured default binding: bind server to 127.0.0.1 by default instead of 0.0.0.0.
    Added client auth: support PROXY_API_KEY env variable to require Bearer tokens for incoming requests.
    Protected privacy: automatically hash client IP addresses in the /v1/sessions endpoint.
    Added unit tests for delta and hashing logic.    Optimized session reuse: send only new messages (delta) and filter out previous assistant replies, preventing context duplication and reducing latency.
    Secured default binding: bind server to 127.0.0.1 by default instead of 0.0.0.0.
    Added client auth: support PROXY_API_KEY env variable to require Bearer tokens for incoming requests.
    Protected privacy: automatically hash client IP addresses in the /v1/sessions endpoint.
    Added unit tests for delta and hashing logic.
@ForgetMeAI

Copy link
Copy Markdown
Owner

Спасибо за вклад. Безопасная часть изменения — loopback binding и PROXY_API_KEY — интегрирована в #26; автор исходного коммита сохранён через Co-authored-by. Delta-prompt часть не перенесена: при пересоздании удалённой сессии она могла терять предыдущий контекст. Закрываю PR как superseded.

@ForgetMeAI ForgetMeAI closed this Jul 13, 2026
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