-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
f/switch to pg #959
f/switch to pg #959
Conversation
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
14144715 | Triggered | Generic Password | 7798826 | memory-store/docker-compose.yml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
|
CI Failure Feedback 🧐(Checks updated until commit 03ecd21)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
Signed-off-by: Diwank Singh Tomer <[email protected]>
feat(agents-api): Remove auto_blob_store in favor of interceptor based system
feat(agents-api,memory-store): Tasks queries
Signed-off-by: Diwank Singh Tomer <[email protected]>
Signed-off-by: Diwank Singh Tomer <[email protected]>
Signed-off-by: Diwank Singh Tomer <[email protected]>
fix(agents-api,memory-store): Fix docs tests and some migrations
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
feat(agents-api): added mmr to chat
Signed-off-by: Diwank Singh Tomer <[email protected]>
fix: Fix handlers calls
X/misc fixes
User description
PR Type
Enhancement, Tests, Configuration changes, Error handling, Miscellaneous
Description
Migrated the codebase from Cozo to PostgreSQL, including database queries, test fixtures, and environment configurations.
Enhanced session, task, and agent models with new fields and improved validation.
Added utility functions for PostgreSQL query execution, database exception handling, and safe operations.
Introduced a state machine for managing execution state transitions and improved workflow management.
Refactored multiple components for better readability, maintainability, and error handling.
Added comprehensive tests for SQL queries, API routes, and workflows, ensuring PostgreSQL compatibility.
Implemented a changelog generation script using Julep API.
Updated environment configurations to support PostgreSQL DSN and removed Cozo-specific settings.
Enhanced interceptors with blob storage integration and modular error handling.
Deprecated or disabled outdated test cases and removed unused files and logic.
Changes walkthrough 📝
14 files
test_execution_workflow.py
Transition tests from Cozo to PostgreSQL integration.
agents-api/tests/test_execution_workflow.py
cozo_clients_with_migrations
withpg_dsn
andcreate_db_pool
for PostgreSQL integration.
Cozo clients.
PostgreSQL-based workflow.
pool usage.
fixtures.py
Refactored test fixtures for PostgreSQL integration.
agents-api/tests/fixtures.py
create_db_pool
for database interactions.
PostgreSQL support.
PostgreSQL-based logic.
test data.
test_task_queries.py
Add and enhance tests for task-related SQL queries.
agents-api/tests/test_task_queries.py
create, update, delete, and list operations.
patch_task
functionality.test_docs_queries.py
Add tests for document-related SQL queries and search.
agents-api/tests/test_docs_queries.py
delete, and search operations.
test_session_queries.py
Add and enhance tests for session-related SQL queries.
agents-api/tests/test_session_queries.py
delete, and list operations.
test_task_routes.py
Add and enhance tests for task-related API routes.
agents-api/tests/test_task_routes.py
execution.
test_files_queries.py
Add and enhance tests for file-related SQL queries.
agents-api/tests/test_files_queries.py
and list operations.
test_agent_queries.py
Migrate agent query tests to PostgreSQL backend.
agents-api/tests/test_agent_queries.py
test_entry_queries.py
Update entry query tests for PostgreSQL integration.
agents-api/tests/test_entry_queries.py
test_find_selector.py
Disable find-selector workflow sample tests.
agents-api/tests/sample_tasks/test_find_selector.py
find-selector
workflow.test_user_queries.py
Update user query tests for PostgreSQL integration.
agents-api/tests/test_user_queries.py
test_tool_queries.py
Update tool query tests for PostgreSQL integration.
agents-api/tests/test_tool_queries.py
test_execution_queries.py
Update execution query tests for PostgreSQL integration.
agents-api/tests/test_execution_queries.py
counts.
utils.py
Enhance test utilities with PostgreSQL and LocalStack support.
agents-api/tests/utils.py
containers.
17 files
Sessions.py
Enhanced session models with system templates and recall options.
agents-api/agents_api/autogen/Sessions.py
system_template
field to session models for customizable systemprompts.
forward_tool_calls
field to control tool call forwardingbehavior.
RecallOptions
with additional fields likelimit
,lang
, andmetadata_filter
.situation
templates with optional fields forflexibility.
Sessions.py
Updated session models with system templates and recall options.
integrations-service/integrations/autogen/Sessions.py
system_template
field for session customization.forward_tool_calls
field to manage tool call forwarding.RecallOptions
with new fields for search configuration.situation
field optional for greater flexibility.utils.py
Add security-limited utility functions and safe operation handlers.
agents-api/agents_api/activities/utils.py
safe_range
,safe_json_loads
, andsafe_base64_decode
.potentially unsafe operations.
limits.
__init__.py
Refactor workflow execution logic and error handling.
agents-api/agents_api/workflows/task_execution/init.py
logging.
Tasks.py
Enhance task models with canonical name and documentation.
agents-api/agents_api/autogen/Tasks.py
canonical_name
field to task models with validation constraints.Tasks.py
Synchronize task model changes with agents API.
integrations-service/integrations/autogen/Tasks.py
canonical_name
field.utils.py
Add utility functions for PostgreSQL query execution.
agents-api/agents_api/queries/utils.py
queries.
transformation.
wait_for_input_step.py
Refactor `wait_for_input_step` activity for clarity.
agents-api/agents_api/activities/task_steps/wait_for_input_step.py
wait_for_input_step
activity for better error handling andlogging.
openapi_model.py
Refactor and cleanup OpenAPI model utilities and imports.
agents-api/agents_api/autogen/openapi_model.py
RemoteObject
references and related logic.interceptors.py
Enhance interceptors with blob storage and error handling.
agents-api/agents_api/common/interceptors.py
create_or_update_task.py
Implement create or update task query with versioning.
agents-api/agents_api/queries/tasks/create_or_update_task.py
execute_system.py
Refactor execute_system activity with dependency injection.
agents-api/agents_api/activities/execute_system.py
execute_system
to use dependency injection for databaseconnections.
state_machine.py
Introduce execution state machine for workflow management.
agents-api/agents_api/common/protocol/state_machine.py
generate_changelog.py
Add changelog generation script with Julep API integration.
scripts/generate_changelog.py
patch_task.py
Implement patch task query with workflow updates.
agents-api/agents_api/queries/tasks/patch_task.py
operations.
04-hook-generator-trending-reels.py
Update trending reels hook generator task definition.
cookbooks/04-hook-generator-trending-reels.py
prompt_step.py
Refactor prompt step activity for improved clarity.
agents-api/agents_api/activities/task_steps/prompt_step.py
1 files
Chat.py
Code formatting improvements in Chat models.
agents-api/agents_api/autogen/Chat.py
1 files
db_exceptions.py
Add common database exception handling utilities.
agents-api/agents_api/common/utils/db_exceptions.py
1 files
env.py
Update environment configuration for PostgreSQL integration.
agents-api/agents_api/env.py
1 files
constants.py
Add constant for execution output unnesting.
agents-api/agents_api/queries/executions/constants.py
101 files