Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Entrar


Todos Novo Entrar

All gists matching topic vibecoded

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
santiago's Avatar

santiago / deepseek_user_id_with_session_name

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1791843245
plugin to make pi.dev / pi.gui send the session as user.id to avoid sharing KV_cache
vibecoded
1 /**
2 * DeepSeek `user_id` — ONE ID PER SESSION, never one shared value.
3 *
4 * DeepSeek's Chat Completions API accepts a custom `user_id` body parameter
5 * (https://api-docs.deepseek.com/quick_start/rate_limit) used for:
6 * - content-safety review isolation
7 * - KV-cache isolation
8 * - scheduling/concurrency isolation
9 *
10 * WHY PER SESSION. Those are ISOLATION keys: a single fixed value puts every session that uses it
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 31ms⋅

Português
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文