mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 18:39:33 +01:00
Merge pull request #755: feat(custom-model): DeepSeek Harness injection through a per-session patch
This commit is contained in:
commit
4c29aedbc5
20 files changed
+866
-151
No files matched your search
@@ -1330,6 +1330,17 @@ export class Session extends EventEmitter {
|
||||
return value && value.trim() ? value.trim() : undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* One env var from this session's overrides, for internal path resolution only
|
||||
* (custom-model injection linking an isolated config dir back to a path that must
|
||||
* survive lives in). Single-key lookup by design, like `deepSeekHomeOverride`: the
|
||||
* map can hold provider credentials and stays off the public `SessionState`.
|
||||
*/
|
||||
envOverrideValue(key: string): string | undefined {
|
||||
const value = this._envOverrides?.[key];
|
||||
return value && value.trim() ? value.trim() : undefined;
|
||||
}
|
||||
|
||||
/** Owning username in multi-user mode, else undefined. */
|
||||
get owner(): string | undefined {
|
||||
return this._owner;
|
||||
|
||||
Reference in new issue
Block a user