MCPcopy Index your code
hub / github.com/Stevenic/codepilot / CodeIndexConfig

Interface CodeIndexConfig

lib/CodeIndex.d.ts:5–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 * The configuration for a code index.
4 */
5export interface CodeIndexConfig {
6 /**
7 * The model to use when generating embeddings.
8 */
9 model: string;
10 /**
11 * The maximum number of tokens to use when generating embeddings.
12 */
13 max_input_tokens: number;
14 /**
15 * The maximum number of tokens to use when generating completions.
16 */
17 max_tokens: number;
18 /**
19 * The sources to index.
20 */
21 sources: string[];
22 /**
23 * The temperature to use when generating completions.
24 */
25 temperature: number;
26 /**
27 * Optional. The extensions to index.
28 */
29 extensions?: string[];
30}
31/**
32 * Keys to use for OpenAI embeddings and models.
33 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected