Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

All gists matching topic vibecoded

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
santiago's Avatar

santiago / deepseek_user_id_with_session_name

0 gustos
0 bifurcaciones
1 archivos
Última actividad 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
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 30ms⋅

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