- Updated Stream and Run methods in the Assistant to use pointer receivers for context, enhancing performance and clarity. - Introduced stack management in context handling, including initialization and cleanup of stack references. - Enhanced the Release method in Context to ensure proper cleanup of resources, including stacks and writer references. - Added new stack status constants and validation to improve traceability and error handling in agent operations. - Removed the obsolete JavaScript API file to streamline the codebase. |
||
|---|---|---|
| .. | ||
| chat.go | ||
| chat_test.go | ||
| context.go | ||
| context_test.go | ||
| interfaces.go | ||
| message.go | ||
| message_test.go | ||
| openapi.go | ||
| openapi_test.go | ||
| stack.go | ||
| stack_test.go | ||
| types.go | ||
| utils.go | ||