Skip to content

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

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

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.
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.

2 participants