Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic vibecoded

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
santiago's Avatar

santiago / deepseek_user_id_with_session_name

0 mi piace
0 forks
1 files
Ultima volta attivo 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
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 32ms⋅

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