mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-09-20 16:57:13 +02:00
feat: support custom pi model configs, with registry-resolvable model IDs and distinct model error codes (#450)
This commit is contained in:
@@ -15,6 +15,12 @@ export const TYPST_TEMPLATE = path.join(WORKER_ROOT, 'templates', 'typst', 'repo
|
||||
/** Compiled pi extension dir that enforces bounded `bash` timeouts (resolved from dist/) */
|
||||
export const BASH_TIMEOUT_EXTENSION_DIR = path.join(import.meta.dirname, 'ai', 'extensions', 'bash-timeout');
|
||||
|
||||
/**
|
||||
* Where the CLI mounts a pi model config passed with `--models-config`; its presence is
|
||||
* what enables models.json. Must match MODELS_CONFIG_CONTAINER_PATH in the CLI package.
|
||||
*/
|
||||
export const MODELS_CONFIG_PATH = '/app/models.json';
|
||||
|
||||
/** Default deliverables subdirectory relative to repoPath */
|
||||
export const DEFAULT_DELIVERABLES_SUBDIR = '.shannon/deliverables';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user