Add pi-langfuse extension (Langfuse LLM observability for pi) — vendored from npm 1.5.8
This commit is contained in:
13
extensions/pi-langfuse/src/constants.ts
Normal file
13
extensions/pi-langfuse/src/constants.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { homedir } from "node:os";
|
||||
import { resolve } from "node:path";
|
||||
|
||||
export const CONFIG_DIR = resolve(homedir(), ".pi", "agent", "pi-langfuse");
|
||||
export const CONFIG_PATH = resolve(CONFIG_DIR, "config.json");
|
||||
export const DEFAULT_LANGFUSE_HOST = "https://cloud.langfuse.com";
|
||||
|
||||
export const MAX_STRING_LENGTH = 12_000;
|
||||
export const MAX_TOOL_PAYLOAD_LENGTH = 24_000;
|
||||
export const MAX_DEPTH = 6;
|
||||
export const MAX_ARRAY_ITEMS = 50;
|
||||
export const MAX_OBJECT_KEYS = 80;
|
||||
export const MAX_PAYLOAD_NODES = 2_000;
|
||||
Reference in New Issue
Block a user