Experimental Assistive Prompts and API Updates
Version Information
TypeScript/JavaScript
- Package:
@composio/core - Version:
0.5.5+
Python
- Package:
composio - Version:
0.10.10+
New Features
Experimental Assistive Prompt Configuration
Tool Router sessions now support experimental configuration for timezone-aware assistive prompts. When you provide a user’s timezone, the session returns a contextual assistive prompt that includes timezone-specific guidance.- Python
- TypeScript
The
experimental field is only available on sessions created with create(). Sessions retrieved with use() do not include the experimental data.Toolkit Endpoint Method
The toolkit retrieve response now includesgetCurrentUserEndpointMethod (TypeScript) / get_current_user_endpoint_method (Python) to indicate the HTTP method for the current user endpoint.
Breaking Changes
Trigger Pagination: page Replaced with cursor
The page parameter in listActive / list_active for trigger instances has been replaced with cursor for cursor-based pagination. There was a bug in earlier APIs which caused page param to be ignored, going ahead for pagination please use cursor instead.
- Python
- TypeScript
Impact Summary
Migration Guide
If you are using thepage parameter in listActive / list_active:
- Replace
pagewithcursor - For the first request, omit the
cursorparameter or passundefined/None - Use the
nextCursor/next_cursorfrom the response for subsequent requests