-
Notifications
You must be signed in to change notification settings - Fork 930
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
dev -> main #1040
dev -> main #1040
Conversation
Signed-off-by: Diwank Singh Tomer <[email protected]>
Tools queries
feat(llm-proxy): Add support for O1 & other LLMs
X/openai embed: Changed embedding from Voyage to OpenAI
fix: Add safety clause to text seaerch altering query
fix(memory-store, agents-api): Fix distance and confidence values for vector search
Signed-off-by: Julep Developers <[email protected]>
Signed-off-by: Diwank Singh Tomer <[email protected]>
hotfix(agents-api): Fixes for connection pool getting exhausted
Signed-off-by: Diwank Singh Tomer <[email protected]>
fix(memory-store): Remove bad indices
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
14144715 | Triggered | Generic Password | ad24128 | 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.
PR Code Suggestions ✨Explore these optional code suggestions:
|
CI Failure Feedback 🧐
✨ 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
|
PR Type
Enhancement, Tests
Description
Added a comprehensive Jupyter Notebook for the "Companion AI" project, including tasks for storyline generation, session updates, and user persona management.
Enhanced session and task models with new fields, improved documentation, and refactored logic for better modularity and readability.
Introduced safe utility functions for JSON, YAML, and Base64 operations with security limits.
Refactored and optimized task execution workflows, error handling, and validation logic across multiple modules.
Added and refactored extensive test cases for session, task, document, file, and developer queries, improving test coverage and migrating to async database connections.
Deleted outdated notebooks and redundant model files to streamline the codebase.
Changes walkthrough 📝
13 files
09_companion_agent.ipynb
Added Companion AI Notebook with tasks and examples.
cookbooks/09_companion_agent.ipynb
persona management.
interactions.
04-hook-generator-trending-reels.py
Refactored Hook Generator Script for readability.
cookbooks/04-hook-generator-trending-reels.py
Sessions.py
Enhanced session models with new fields and refactoring.
agents-api/agents_api/autogen/Sessions.py
system_template
field for session-related models.forward_tool_calls
field for enhanced tool call handling.base_evaluate.py
Refactored base evaluation logic and error handling.
agents-api/agents_api/activities/task_steps/base_evaluate.py
base_evaluate
as an activity definition.for_each_step.py
Simplified and annotated for_each_step activity.
agents-api/agents_api/activities/task_steps/for_each_step.py
for_each_step
as an activity definition.Sessions.py
Enhance session model with system template and tool forwarding.
integrations-service/integrations/autogen/Sessions.py
system_template
field to replacesituation
for session context.forward_tool_calls
field to control tool call forwarding.utils.py
Add safe utility functions with security limits.
agents-api/agents_api/activities/utils.py
operations.
size.
ALLOWED_FUNCTIONS
andstdlib
with safe operations.__init__.py
Refactor and optimize task execution workflow logic.
agents-api/agents_api/workflows/task_execution/init.py
execution_input.task
to ensure it is not None.formatting.
and outcomes.
Tasks.py
Add canonical name and improve task model documentation.
agents-api/agents_api/autogen/Tasks.py
canonical_name
field with validation to task-related models.Tasks.py
Add canonical name and improve task model documentation.
integrations-service/integrations/autogen/Tasks.py
canonical_name
field with validation to task-related models.openapi_model.py
Refactor and enhance validation in openapi models.
agents-api/agents_api/autogen/openapi_model.py
utils.py
Add PostgreSQL query utilities and concurrent execution support.
agents-api/agents_api/queries/utils.py
queries.
execute_system.py
Simplify and enhance system execution logic.
agents-api/agents_api/activities/execute_system.py
checks.
9 files
test_execution_workflow.py
Refactor test execution workflow to use connection pools.
agents-api/tests/test_execution_workflow.py
client
withconnection_pool
for database interactions._s3_client
for potential blob storeusage.
fixtures.py
Refactor test fixtures to support PostgreSQL and S3.
agents-api/tests/fixtures.py
test_session_queries.py
Add and refactor tests for session query functions.
agents-api/tests/test_session_queries.py
test_task_queries.py
Add and refactor task query tests with async DB support.
agents-api/tests/test_task_queries.py
create_db_pool
.patch_task
,delete_task
, andlist_tasks
withfilters.
uuid7
.test_docs_queries.py
Enhance document query tests with async DB and search.
agents-api/tests/test_docs_queries.py
documents.
create_db_pool
.test_task_routes.py
Extend task route tests with execution transitions.
agents-api/tests/test_task_routes.py
test_files_queries.py
Add and refactor file query tests with async DB.
agents-api/tests/test_files_queries.py
create_db_pool
.test_agent_queries.py
Refactor and extend agent query tests with async DB.
agents-api/tests/test_agent_queries.py
patch_agent
anddelete_agent
queries.test_developer_queries.py
Add and refactor developer query tests with async DB.
agents-api/tests/test_developer_queries.py
create_db_pool
.1 files
__init__.py
Refactor router import alias for clarity.
agents-api/agents_api/routers/jobs/init.py
router
to improve clarity.101 files