MCPcopy Create free account
hub / github.com/Stevenic/codepilot / CodeIndexConfig

Interface CodeIndexConfig

src/CodeIndex.ts:17–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 * The configuration for a code index.
16 */
17export interface CodeIndexConfig {
18 /**
19 * The model to use when generating embeddings.
20 */
21 model: string;
22
23 /**
24 * The maximum number of tokens to use when generating embeddings.
25 */
26 max_input_tokens: number;
27
28 /**
29 * The maximum number of tokens to use when generating completions.
30 */
31 max_tokens: number;
32
33 /**
34 * The sources to index.
35 */
36 sources: string[];
37
38 /**
39 * The temperature to use when generating completions.
40 */
41 temperature: number;
42
43 /**
44 * Optional. The extensions to index.
45 */
46 extensions?: string[];
47}
48
49// LLM-REGION
50

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected