You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* ✨ feat: add tokenize command to CLI for token processing
Adds a new tokenize command to parse text into hex tokens with options.
* docs generator
* remove comments
* updated docs prompt
* Creates a chat generation context for handling prompts and related tasks in a conversational context.
432
-
*
433
-
* @param options - Configuration options for generation, including cancellation token, info callback, and user state.
434
-
* @param trace - Tracing utilities for logging and debugging execution.
435
-
* @param projectOptions - Project-specific parameters, including the project instance and environment variables.
436
-
* @returns A context object with various utility functions and properties for managing prompts and AI interactions.
437
-
*
438
-
* Utility Functions:
439
-
* - `defAgent(name, description, fn, options)`: Defines an agent with tools, memory, and task-solving capabilities.
440
-
* - `defTool(name, description, parameters, fn, defOptions)`: Registers a tool for use in the chat session. Supports multiple formats for tool definitions, including callbacks and MCP server configurations.
441
-
* - `defSchema(name, schema, defOptions)`: Defines a JSON schema for validation or metadata.
442
-
* - `defImages(files, defOptions)`: Processes and encodes image files for their integration into prompts. Supports tiling and slicing of images.
443
-
* - `defChatParticipant(generator, options)`: Adds chat participant logic (e.g., other agents or external systems).
444
-
* - `defFileOutput(pattern, description, options)`: Specifies output file patterns for tracking in the session.
0 commit comments