Commit Graph

11 Commits

Author SHA1 Message Date
Saumya 2e31dd4593 fix agent creation error 2025-08-24 22:34:32 +05:30
mykonos-ibiza dfab627eba Add message deletion functionality and refactor related methods
- Introduced a new endpoint in the API to delete messages from a thread, enhancing message management capabilities.
- Added a `del_message` method in the `Thread` class to facilitate message deletion.
- Updated the `ThreadsClient` class to include a method for deleting messages from a thread, ensuring consistent API interaction.
- Refactored the `Agent` class to rename the `tool_details` method to `details`, improving clarity in method naming.
2025-08-01 15:35:09 +05:30
mykonos-ibiza c94a0becd9 Enhance agent data handling in from_dict method
- Updated the `from_dict` method in the `agents.py` file to support the conversion of `custom_mcps` and ensure proper handling of nested `MCPConfig` objects.
- Improved data extraction by filtering out unnecessary fields and providing default values for missing configurations, enhancing robustness in agent initialization.
2025-08-01 02:36:21 +05:30
mykonos-ibiza 84fe3795c1 fix(api): configure timeout settings for streaming requests
- Added timeout settings to the `stream_from_url` function to prevent ReadTimeout errors during streaming operations.
- Configured connection, read, write, and pool timeouts for improved reliability in data retrieval.
2025-07-29 21:28:22 +05:30
mykonos-ibiza aa75f47ac3 feat(kortix): enhance streaming capabilities and add utility functions
- Introduced a new `stream.py` module for processing streamed data, including classes for handling different message types.
- Added a local key-value store for managing agent and thread IDs.
- Implemented a real-time stream processor with callbacks for handling various events.
- Created example scripts for testing the streaming functionality and integrated weather tool.
- Updated import statements for better organization and clarity.
2025-07-29 21:23:37 +05:30
mykonos-ibiza 53fb20aa6a refactor(api): update import statements to use relative paths
- Changed import statements in `agents.py` and `threads.py` to utilize relative paths for improved module organization and clarity.
2025-07-29 21:15:28 +05:30
mykonos-ibiza 8a6f23080e refactor(kortix): reorganize imports and introduce new Kortix class
- Updated import statements to use relative paths for better module resolution.
- Deleted the empty `api` and `kortix` directories to clean up the structure.
- Introduced the `Kortix` class to manage agents and threads, enhancing the SDK's core functionality.
2025-07-29 21:11:50 +05:30
mykonos-ibiza 8869138a7e feat(api-keys): implement API key management system
- Added a new API keys service with endpoints for creating, listing, revoking, and deleting API keys.
- Integrated API key validation and caching for performance.
- Updated backend configuration to include API key secret and throttling settings.
- Created frontend components for managing API keys, including a user interface for creating and displaying keys.
- Introduced a new database migration for the API keys table with necessary constraints and security policies.
- Enhanced authentication methods to support API key usage alongside JWT.
2025-07-29 19:38:37 +05:30
mykonos-ibiza 7050490d03 feat(api): enhance thread creation and agent functionality
- Updated the `create_thread` endpoint to set a default name if none is provided.
- Modified the `Agent` class to use a dictionary for `agentpress_tools` instead of a custom type.
- Improved the `LocalKVStore` initialization to use a hidden filename.
- Added a new weather retrieval tool to the MCP.
- Updated agent and thread setup in the main function for better clarity and functionality.
- Refactored message handling in the `ThreadsClient` to use query parameters for message posting.
2025-07-29 14:23:12 +05:30
mykonos-ibiza f45d106d39 feat(kortix): implement core functionality for agent and thread management
- Introduced the `Kortix` class to manage agents and threads with API integration.
- Enhanced the `Agent` class to support running agents with prompts and managing threads.
- Added streaming capabilities for real-time message processing.
- Created example scripts for testing agent functionality and stream processing.
- Updated models and tools to improve integration and usability.
2025-07-29 12:13:25 +05:30
mykonos-ibiza 57aa08fdaa feat(sdk): restructure SDK into new directory with updated API and models
- Moved existing components to a new `sdk` directory for better organization.
- Introduced new API structure for agent and thread management.
- Added models for tools and messages to enhance functionality.
- Implemented a local key-value store for persistent data management.
- Updated README and project files to reflect new structure and usage.
2025-07-29 00:41:33 +05:30