Skip to content
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 #1145

Open
wants to merge 280 commits into
base: main
Choose a base branch
from
Open

dev->main #1145

wants to merge 280 commits into from

Conversation

whiterabbit1983
Copy link
Contributor

@whiterabbit1983 whiterabbit1983 commented Feb 10, 2025

PR Type

Enhancement, Tests, Documentation, Bug fix, Other


Description

  • Introduced numerous enhancements across CLI, agents, integrations, and workflows, including new commands, improved error handling, and updated models.

  • Added comprehensive documentation for CLI commands, Python SDK, and tutorials, including examples and usage guidelines.

  • Improved test coverage with new unit tests for various functionalities, including task execution workflows, CSV utilities, and CLI commands.

  • Fixed type-checking errors and improved validation constraints in multiple modules.

  • Refactored and cleaned up redundant code, removed unused files, and improved maintainability.

  • Updated Julep Client initialization across notebooks to use production environment by default and added API key validation.

  • Enhanced changelog generation and code generation scripts for better usability.


Changes walkthrough 📝

Relevant files
Enhancement
61 files
08_customer_support_chatbot.ipynb
Update chatbot notebook with Julep Client setup and environment.

cookbooks/08_customer_support_chatbot.ipynb

  • Added installation instructions for the Julep Client.
  • Updated UUID handling and added a note on UUID immutability.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +47/-3   
    07-personalized-research-assistant.ipynb
    Update research assistant notebook with Julep Client setup.

    cookbooks/07-personalized-research-assistant.ipynb

  • Added installation instructions for the Julep Client.
  • Updated UUID handling and added a note on UUID immutability.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +33/-3   
    09_companion_agent.ipynb
    Update companion agent notebook with Julep Client setup. 

    cookbooks/09_companion_agent.ipynb

  • Added installation instructions for the Julep Client.
  • Updated UUID handling and added a note on UUID immutability.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +31/-10 
    10-crawling-and-rag.ipynb
    Add Julep Client setup to crawling notebook.                         

    cookbooks/10-crawling-and-rag.ipynb

  • Added installation instructions for the Julep Client.
  • Updated UUID handling and added a note on UUID immutability.
  • +29/-0   
    04-hook-generator-trending-reels.ipynb
    Update hook generator notebook with API key link.               

    cookbooks/04-hook-generator-trending-reels.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +5/-3     
    00-Devfest-Email-Assistant.ipynb
    Update email assistant notebook with API key link.             

    cookbooks/00-Devfest-Email-Assistant.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +4/-2     
    02-sarcastic-news-headline-generator.ipynb
    Update headline generator notebook with API key link.       

    cookbooks/02-sarcastic-news-headline-generator.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +4/-2     
    03-trip-planning-assistant.ipynb
    Update trip planning notebook with API key link.                 

    cookbooks/03-trip-planning-assistant.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +4/-2     
    05-video-processing-with-natural-language.ipynb
    Update video processing notebook with API key link.           

    cookbooks/05-video-processing-with-natural-language.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +4/-2     
    01-website-crawler.ipynb
    Update website crawler notebook with API key link.             

    cookbooks/01-website-crawler.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +4/-2     
    06-browser-use.ipynb
    Update browser use notebook with API key link.                     

    cookbooks/06-browser-use.ipynb

  • Added a link to obtain the API key.
  • Changed the environment parameter for the Julep Client from "dev" to
    "production".
  • +4/-2     
    Tasks.py
    Refactor and clean up task-related models.                             

    integrations-service/integrations/autogen/Tasks.py

  • Removed unused models and redundant classes.
  • Simplified and refactored task-related models.
  • Updated field definitions for better validation and consistency.
  • +105/-653
    sync.py
    Add sync command for local-remote state synchronization. 

    cli/src/julep_cli/sync.py

  • Added a new sync command for synchronizing local and remote states.
  • Implemented support for dry-run, force-local, and force-remote
    options.
  • Added watch mode for automatic synchronization on file changes.
  • +978/-0 
    __init__.py
    Enhance workflow step evaluation and error handling.         

    agents-api/agents_api/workflows/task_execution/init.py

  • Added eval_step_exprs method for evaluating workflow step expressions.
  • Improved error handling and logging for workflow steps.
  • Refactored step handling logic for better maintainability.
  • +174/-41
    Chat.py
    Update chat models with new fields and validations.           

    integrations-service/integrations/autogen/Chat.py

  • Updated field definitions for better validation and consistency.
  • Added new fields to support additional chat functionalities.
  • Removed deprecated OpenAISettings class.
  • +21/-94 
    Agents.py
    Update agent models for flexible settings structure.         

    agents-api/agents_api/autogen/Agents.py

  • Replaced DefaultChatSettings with a generic dictionary for
    flexibility.
  • Updated agent-related models to reflect new settings structure.
  • +5/-7     
    utils.py
    Added SQLite state management utilities and persistence decorator.

    cli/src/julep_cli/utils.py

  • Added utility functions for managing SQLite database state.
  • Introduced a decorator persist_attribute for persisting function
    return values.
  • Added a function manage_db_attribute for fetching/updating database
    attributes.
  • Enhanced error handling for missing database or improperly initialized
    state.
  • +464/-0 
    Tasks.py
    Enhanced validation and updated field types in task models.

    agents-api/agents_api/autogen/Tasks.py

  • Updated label field in multiple classes to include validation
    constraints.
  • Replaced ChatSettings with a generic dictionary for settings in
    PromptStep.
  • +68/-25 
    agents.py
    Introduced CLI commands for agent management.                       

    cli/src/julep_cli/agents.py

  • Added CLI commands for creating, updating, deleting, and listing
    agents.
  • Implemented JSON parsing and validation for metadata and settings.
  • Enhanced error handling for invalid inputs and API errors.
  • +316/-0 
    importt.py
    Added agent import functionality to CLI.                                 

    cli/src/julep_cli/importt.py

  • Added CLI command for importing agents from remote sources.
  • Implemented overwrite confirmation for existing agents.
  • Enhanced error handling for missing lock files or unsupported options.
  • +316/-0 
    wrapper.py
    Added interactive CLI wrapper for missing parameter handling.

    cli/src/julep_cli/wrapper.py

  • Introduced WrappedTyper class for interactive CLI prompts.
  • Added functionality to handle missing parameters via user prompts.
  • Enhanced usability with dynamic questionary prompts.
  • +237/-0 
    tasks.py
    Introduced CLI commands for task management.                         

    cli/src/julep_cli/tasks.py

  • Added CLI commands for creating, updating, and listing tasks.
  • Implemented YAML-based task definition overrides.
  • Enhanced error handling for invalid inputs and API errors.
  • +205/-0 
    tools.py
    Introduced CLI commands for tool management.                         

    cli/src/julep_cli/tools.py

  • Added CLI commands for creating, updating, deleting, and listing
    tools.
  • Implemented YAML-based tool configuration overrides.
  • Enhanced error handling for invalid inputs and API errors.
  • +216/-0 
    init.py
    Added project initialization command with template support.

    cli/src/julep_cli/init.py

  • Added CLI command for initializing new projects with templates.
  • Implemented template downloading and extraction from a remote
    repository.
  • Enhanced error handling for missing templates or invalid paths.
  • +203/-0 
    helpers.py
    Added expression evaluation and improved workflow naming.

    agents-api/agents_api/workflows/task_execution/helpers.py

  • Added base_evaluate_activity function for evaluating expressions in
    workflows.
  • Updated workflow naming conventions with separators for better
    readability.
  • Enhanced error handling for activity execution failures.
  • +38/-11 
    models.py
    Added Pydantic models for CLI entities and lock file schema.

    cli/src/julep_cli/models.py

  • Added Pydantic models for agents, tasks, and tools.
  • Defined schema for lock file contents and relationships.
  • Introduced validation constraints for model fields.
  • +229/-0 
    logs.py
    Added execution log viewer with TUI support.                         

    cli/src/julep_cli/logs.py

  • Added CLI command for logging execution transitions.
  • Introduced a TUI-based log viewer using Textual.
  • Enhanced functionality for tailing logs in real-time.
  • +158/-0 
    utils.py
    Added CSV utilities for data processing.                                 

    agents-api/agents_api/activities/utils.py

  • Added CSV utility functions for reading and writing data.
  • Introduced a stdlib_csv class for encapsulating CSV operations.
  • Enhanced support for CSV dialects and custom configurations.
  • +119/-20
    Tools.py
    Improved integration definitions and argument flexibility.

    integrations-service/integrations/autogen/Tools.py

  • Updated integration definitions to allow Any type for setup
    parameters.
  • Simplified coordinate field in RemoteBrowserArguments.
  • Enhanced flexibility for integration method arguments.
  • +47/-31 
    ls.py
    Added CLI command for listing project entities.                   

    cli/src/julep_cli/ls.py

  • Added CLI command for listing synced entities in a project.
  • Implemented table-based output for agents, tasks, and tools.
  • Enhanced usability with rich formatting and YAML parsing.
  • +100/-0 
    create_or_update_agent.py
    Improved default settings and metadata handling.                 

    agents-api/agents_api/queries/agents/create_or_update_agent.py

  • Updated default settings handling to use dictionary directly.
  • Simplified logic for metadata initialization.
  • +1/-1     
    app.py
    Add CLI application structure with subcommands                     

    cli/src/julep_cli/app.py

  • Introduced a CLI application structure using WrappedTyper.
  • Added subcommands for managing agents, tasks, tools, and executions.
  • Implemented global options like --no-color, --quiet, and --version.
  • +116/-0 
    auth.py
    Add CLI authentication command with JWT validation             

    cli/src/julep_cli/auth.py

  • Implemented an auth command for CLI authentication.
  • Added JWT validation and API key verification logic.
  • Integrated environment-specific configurations.
  • +103/-0 
    base_evaluate.py
    Refactor base_evaluate and improve expression handling     

    agents-api/agents_api/activities/task_steps/base_evaluate.py

  • Refactored _recursive_evaluate to handle expressions starting with $ .
  • Updated base_evaluate to accept StepContext and merge context values.
  • Removed redundant EvaluateError class and moved it to a shared
    location.
  • +18/-22 
    tasks.py
    Enhance task input handling and step labeling                       

    agents-api/agents_api/common/protocol/tasks.py

  • Enhanced get_inputs to return both inputs and labels.
  • Updated prepare_for_step to include labeled steps in the output.
  • Improved workflow name extraction logic.
  • +27/-12 
    prompt_step.py
    Simplify and enhance prompt evaluation logic                         

    agents-api/agents_api/activities/task_steps/prompt_step.py

  • Simplified prompt evaluation logic by removing redundant template
    rendering.
  • Updated prompt_step to evaluate both content and role fields
    dynamically.
  • Removed unused EVAL_PROMPT_PREFIX.
  • +7/-28   
    sessions.py
    Replace ChatSettings with generic dictionary in sessions 

    agents-api/agents_api/common/protocol/sessions.py

  • Replaced ChatSettings with a generic dict for session settings.
  • Updated methods to handle settings as dictionaries.
  • Improved type handling for active agent retrieval.
  • +8/-10   
    chat.py
    Improve settings handling and response processing in chat

    agents-api/agents_api/routers/sessions/chat.py

  • Improved handling of settings dictionary with safer access methods.
  • Refactored model response handling for better readability.
  • +11/-11 
    run.py
    Add CLI run command for task execution                                     

    cli/src/julep_cli/run.py

  • Added a run command to execute tasks with input parameters.
  • Supported input parsing from JSON strings or files.
  • Implemented optional waiting for task completion with log streaming.
  • +81/-0   
    chat.py
    Add CLI chat command for interactive agent sessions           

    cli/src/julep_cli/chat.py

  • Added a chat command for interactive sessions with agents.
  • Supported real-time user input and agent responses.
  • Integrated session creation and message handling.
  • +80/-0   
    executions.py
    Add CLI executions command with create subcommand               

    cli/src/julep_cli/executions.py

  • Added a create subcommand for task executions.
  • Implemented execution ID persistence and progress tracking.
  • Improved error handling for execution creation.
  • +54/-0   
    Agents.py
    Replace DefaultChatSettings with generic dictionary in Agents

    integrations-service/integrations/autogen/Agents.py

  • Replaced DefaultChatSettings with a generic dictionary for default
    settings.
  • Updated all agent-related request and response models.
  • +5/-7     
    Common.py
    Add StepLabel and PyExpression types, remove MimeType       

    integrations-service/integrations/autogen/Common.py

  • Added StepLabel and PyExpression types for enhanced task handling.
  • Removed MimeType type and replaced its usage with a string.
  • +16/-12 
    04-hook-generator-trending-reels.py
    Update Julep client initialization and API key validation

    cookbooks/04-hook-generator-trending-reels.py

  • Updated Julep client initialization to use production environment by
    default.
  • Added validation for missing API keys.
  • +9/-7     
    workflows.py
    Add utility for extracting workflow names from transitions

    agents-api/agents_api/common/utils/workflows.py

  • Added a utility function get_workflow_name to extract workflow names
    from transitions.
  • Improved parsing logic for workflow strings.
  • +23/-0   
    executions.py
    Add shared EvaluateError class for execution errors           

    agents-api/agents_api/common/exceptions/executions.py

  • Moved EvaluateError class to a shared location for reuse.
  • Enhanced error messages for template and variable name issues.
  • +20/-0   
    Executions.py
    Add step_label field to Transition model                                 

    integrations-service/integrations/autogen/Executions.py

  • Added step_label field to Transition model for labeled steps.
  • Updated field annotations and validation rules.
  • +12/-1   
    Executions.py
    Add step_label field to Transition model                                 

    agents-api/agents_api/autogen/Executions.py

  • Added step_label field to Transition model for labeled steps.
  • Updated field annotations and validation rules.
  • +11/-0   
    generate_changelog.py
    Improve changelog generation logic                                             

    scripts/generate_changelog.py

  • Updated changelog generation to handle missing files gracefully.
  • Improved logic for appending new changelog entries.
  • +7/-4     
    03-trip-planning-assistant.py
    Update Julep client initialization and API key validation

    cookbooks/03-trip-planning-assistant.py

  • Updated Julep client initialization to use production environment by
    default.
  • Added validation for missing API keys.
  • +7/-2     
    Files.py
    Replace MimeType with string in Files models                         

    integrations-service/integrations/autogen/Files.py

  • Replaced MimeType type with a string for file MIME types.
  • Updated all file-related request and response models.
  • +2/-4     
    Common.py
    Add StepLabel type for task handling                                         

    agents-api/agents_api/autogen/Common.py

  • Added StepLabel type for enhanced task handling.
  • Updated annotations and validation rules.
  • +10/-0   
    02-sarcastic-news-headline-generator.py
    Update Julep client initialization and API key validation

    cookbooks/02-sarcastic-news-headline-generator.py

  • Updated Julep client initialization to use production environment by
    default.
  • Added validation for missing API keys.
  • +3/-2     
    01-website-crawler.py
    Update Julep client initialization and API key validation

    cookbooks/01-website-crawler.py

  • Updated Julep client initialization to use production environment by
    default.
  • Added validation for missing API keys.
  • +3/-2     
    Sessions.py
    Update Sessions model with optional kind and new id field

    integrations-service/integrations/autogen/Sessions.py

  • Made kind field optional in Session model.
  • Added id field to CreateOrUpdateSessionRequest.
  • +2/-1     
    create_agent.py
    Simplify default settings handling in create_agent             

    agents-api/agents_api/queries/agents/create_agent.py

  • Replaced model_dump with direct dictionary usage for default settings.
  • Simplified logic for metadata initialization.
  • +1/-1     
    list_execution_transitions.py
    Add step_label to execution transition transformation       

    agents-api/agents_api/queries/executions/list_execution_transitions.py

    • Added step_label field to transition transformation logic.
    +1/-0     
    patch_agent.py
    Simplify default settings handling in patch_agent               

    agents-api/agents_api/queries/agents/patch_agent.py

  • Replaced model_dump with direct dictionary usage for default settings.
  • +1/-1     
    create_execution_transition.py
    Add step_label support in execution transition creation   

    agents-api/agents_api/queries/executions/create_execution_transition.py

    • Added support for step_label in execution transition creation.
    +1/-2     
    update_agent.py
    Simplify default settings handling in update_agent             

    agents-api/agents_api/queries/agents/update_agent.py

  • Replaced model_dump with direct dictionary usage for default settings.
  • +1/-1     
    generate_openapi_code.sh
    Add JSON schema generation and improve codegen script       

    scripts/generate_openapi_code.sh

  • Added JSON schema generation for task and agent requests.
  • Improved code generation and formatting logic.
  • +22/-11 
    Tests
    7 files
    test_task_execution_workflow.py
    Add tests for task execution workflow expressions.             

    agents-api/tests/test_task_execution_workflow.py

  • Added new tests for evaluating various workflow step expressions.
  • Enhanced test coverage for task execution workflows.
  • Introduced assertions for specific step outcomes.
  • +855/-7 
    test_session_queries.py
    Fixed type issues and improved session query tests.           

    agents-api/tests/test_session_queries.py

  • Added type ignore comments for callable-related type errors.
  • Enhanced test coverage for session query functions.
  • +13/-13 
    test_prepare_for_step.py
    Added tests for step preparation utility.                               

    agents-api/tests/test_prepare_for_step.py

  • Added tests for prepare_for_step utility function.
  • Verified label lookup and input preparation logic.
  • Included edge case handling for invalid workflows.
  • +162/-0 
    test_agent_queries.py
    Fixed type issues and improved agent query tests.               

    agents-api/tests/test_agent_queries.py

  • Added type ignore comments for callable-related type errors.
  • Enhanced test coverage for agent query functions.
  • +12/-12 
    test_base_evaluate.py
    Added tests for base evaluation utility.                                 

    agents-api/tests/test_base_evaluate.py

  • Added tests for base_evaluate utility function.
  • Verified expression evaluation for strings, dicts, and lists.
  • Included edge case handling for undefined values.
  • +138/-0 
    test_auth.py
    Add unit tests for CLI auth command                                           

    cli/tests/test_auth.py

  • Added unit tests for the auth command.
  • Covered scenarios for API key input, environment variables, and
    missing keys.
  • Mocked configuration saving and environment setup.
  • +75/-0   
    test_activities_utils.py
    Add unit tests for evaluator CSV functionality                     

    agents-api/tests/test_activities_utils.py

  • Added unit tests for CSV reader and writer functionality in
    evaluators.
  • Ensured proper handling of edge cases in evaluator logic.
  • +17/-0   
    Miscellaneous
    1 files
    tool_call_step.py
    Cleaned up tool call step module.                                               

    agents-api/agents_api/activities/task_steps/tool_call_step.py

  • Removed unused imports and redundant code.
  • Simplified module to focus on tool definitions.
  • +1/-34   
    Bug fix
    4 files
    test_entry_queries.py
    Suppress type-checking errors in test_entry_queries.py     

    agents-api/tests/test_entry_queries.py

  • Added # type: ignore[not-callable] comments to suppress type-checking
    errors for callable objects.
  • Applied changes across multiple test cases for consistency.
  • +9/-9     
    test_user_queries.py
    Suppress type-checking errors in test_user_queries.py       

    agents-api/tests/test_user_queries.py

  • Added # type: ignore[not-callable] comments to suppress type-checking
    errors for callable objects.
  • Applied changes across multiple test cases for consistency.
  • +9/-9     
    models.py
    Suppress type-checking errors in protocol models                 

    agents-api/agents_api/common/protocol/models.py

  • Added # type: ignore comment for arguments.load() to suppress
    type-checking errors.
  • +1/-1     
    openapi_model.py
    Fix generic type definition in openapi_model                         

    agents-api/agents_api/autogen/openapi_model.py

    • Fixed generic type definition for ListResponse class.
    +1/-1     
    Error handling
    2 files
    interceptors.py
    Improve error handling in interceptors                                     

    agents-api/agents_api/common/interceptors.py

  • Improved error handling by unwrapping nested ActivityError exceptions.
  • Enhanced retryable error detection logic.
  • +5/-1     
    transition.py
    Improve error handling in task execution transitions         

    agents-api/agents_api/workflows/task_execution/transition.py

  • Improved error handling by unwrapping nested ActivityError exceptions.
  • Enhanced logging for transition errors.
  • +3/-1     
    Configuration changes
    2 files
    __init__.py
    Add module-level imports for CLI commands                               

    cli/src/julep_cli/init.py

  • Added module-level imports for CLI commands and utilities.
  • Exposed all CLI subcommands for external use.
  • +29/-0   
    __main__.py
    Add entry point for CLI application                                           

    cli/src/julep_cli/main.py

    • Added entry point for CLI application.
    +7/-0     
    Documentation
    4 files
    README.md
    Add detailed documentation for Julep CLI                                 

    cli/README.md

  • Added comprehensive documentation for Julep CLI commands and options.
  • Included examples and usage guidelines for each command.
  • +1243/-0
    reference.mdx
    Add Python SDK reference documentation                                     

    documentation/sdks/python/reference.mdx

  • Added detailed Python SDK reference for agents, tools, sessions, and
    executions.
  • Included type definitions and method descriptions.
  • +197/-2 
    video-processing.mdx
    Add detailed tutorial for video processing task                   

    documentation/docs/tutorials/video-processing.mdx

  • Added complete YAML definition for video processing task.
  • Included Python and Node.js examples for task execution.
  • Enhanced tutorial with sample input and output videos.
  • +217/-7 
    agents.mdx
    Fix typo in agents concept documentation                                 

    documentation/docs/concepts/agents.mdx

    • Fixed a typo in the description of default_settings.
    +1/-1     
    Additional files
    101 files
    generate-changelog.yml +4/-5     
    CHANGELOG.md +12/-83 
    CONTRIBUTING.md +51/-26 
    README.md +6/-6     
    __init__.py +0/-12   
    evaluate_step.py +0/-27   
    for_each_step.py +0/-25   
    if_else_step.py +0/-28   
    log_step.py +0/-31   
    map_reduce_step.py +0/-28   
    return_step.py +0/-25   
    set_value_step.py +0/-29   
    switch_step.py +0/-35   
    wait_for_input_step.py +0/-22   
    yield_step.py +0/-50   
    Chat.py +0/-90   
    poe_tasks.toml +6/-1     
    test_simple_eval_dict.py +0/-29   
    cli-reference.md +535/-0 
    poe_tasks.toml +13/-0   
    pyproject.toml +64/-0   
    spec.md +1228/-0
    __init__.py [link]   
    README.md +1/-1     
    create-or-update.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    get.mdx +0/-3     
    list.mdx +0/-3     
    patch.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    list.mdx +0/-3     
    patch.mdx +0/-3     
    update.mdx +0/-3     
    update.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    list.mdx +0/-3     
    search.mdx +0/-3     
    embed.mdx +0/-3     
    get.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    list.mdx +0/-3     
    search.mdx +0/-3     
    create.mdx +0/-3     
    get.mdx +0/-3     
    transitions-stream.mdx +0/-3     
    transitions.mdx +0/-3     
    update.mdx +0/-3     
    create.mdx +0/-3     
    get.mdx +0/-3     
    introduction.mdx +0/-51   
    get.mdx +0/-3     
    chat.mdx +0/-3     
    create-or-update.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    get.mdx +0/-3     
    delete.mdx +0/-3     
    get.mdx +0/-3     
    list.mdx +0/-3     
    patch.mdx +0/-3     
    update.mdx +0/-3     
    create-or-update.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    create.mdx +0/-3     
    list.mdx +0/-3     
    get.mdx +0/-3     
    list.mdx +0/-3     
    patch.mdx +0/-3     
    update.mdx +0/-3     
    create-or-update.mdx +0/-3     
    create.mdx +0/-3     
    delete.mdx +0/-3     
    get.mdx +0/-3     
    list.mdx +0/-3     
    patch.mdx +0/-3     
    update.mdx +0/-3     
    architecture-deep-dive.mdx +20/-20 
    python-expression.mdx +88/-1   
    types-of-task-steps.mdx +24/-20 
    supported-models.mdx +30/-24 
    browser-use.mdx +361/-56
    crawling-web-pages-with-rag.mdx +230/-5 
    trip-planning.mdx +194/-0 
    commands.mdx +954/-0 
    introduction.mdx +140/-0 
    mint.json +23/-136
    reference.mdx +177/-2 
    node-sdk.mdx +0/-1     
    python-sdk.mdx +0/-1     
    docker-compose.yml +0/-1     
    litellm-config.yaml +6/-0     
    create_agent_request.json +12753/-0
    create_task_request.json +12806/-0
    walk.jq +24/-0   
    authors.md +0/-9     
    Additional files not shown

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • HamadaSalhab and others added 30 commits January 28, 2025 22:30
    feat(documentation): added posthog analytics to docs
    Copy link
    Contributor

    qodo-merge-pro-for-open-source bot commented Feb 11, 2025

    CI Feedback 🧐

    (Feedback updated until commit 607c1b7)

    A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

    Action: Dependabot

    Failed stage: Run Dependabot [❌]

    Failed test name: dependency_file_not_found

    Failure summary:

    The Dependabot action failed because it could not find any dependency files to update in the
    /cozo-server/backup directory. Specifically:

  • Error message: "No files found in /cozo-server/backup"
  • The action was trying to check for security updates in pip dependencies including certifi and
    transformers
  • The failure occurred during the file fetching phase of the Dependabot process

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    60:  proxy | 2025/02/12 04:22:33 proxy starting, commit: 50bb55ecec5571c86c9d56b665965ae41b6382a7
    61:  proxy | 2025/02/12 04:22:33 Listening (:1080)
    62:  updater | Updating certificates in /etc/ssl/certs...
    63:  updater | rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
    64:  updater | 1 added, 0 removed; done.
    65:  Running hooks in /etc/ca-certificates/update.d...
    66:  updater | done.
    67:  updater | 2025/02/12 04:22:36 INFO <job_962935612> Starting job processing
    68:  2025/02/12 04:22:36 INFO <job_962935612> Job definition: {"job":{"allowed-updates":[{"dependency-type":"direct","update-type":"all"}],"commit-message-options":{"prefix":null,"prefix-development":null,"include-scope":null},"credentials-metadata":[{"type":"git_source","host":"github.com"}],"debug":null,"dependencies":["certifi","certifi","certifi","transformers","transformers","transformers"],"dependency-groups":[{"name":"pip","rules":{"patterns":["*"]},"applies-to":"security-updates"}],"dependency-group-to-refresh":null,"existing-pull-requests":[[{"dependency-name":"fastapi","dependency-version":"0.109.1"}]],"existing-group-pull-requests":[],"experiments":{"record-ecosystem-versions":true,"record-update-job-unknown-error":true,"proxy-cached":true,"move-job-token":true,"dependency-change-validation":true,"nuget-install-dotnet-sdks":true,"nuget-native-analysis":true,"nuget-use-direct-discovery":true,"enable-file-parser-python-local":true,"npm-fallback-version-above-v6":true,"npm-v6-deprecation-warning":true,"npm-v6-unsupported-error":true,"python-3-8-deprecation-warning":true,"python-3-8-unsupported-error":true,"lead-security-dependency":true,"enable-record-ecosystem-meta":true,"enable-shared-helpers-command-timeout":true,"enable-fix-for-pnpm-no-change-error":true,"enable-engine-version-detection":true,"avoid-duplicate-updates-package-json":true,"allow-refresh-for-existing-pr-dependencies":true,"exclude-local-composer-packages":true},"ignore-conditions":[],"lockfile-only":false,"max-updater-run-time":2700,"package-manager":"pip","proxy-log-response-body-on-auth-failure":true,"requirements-update-strategy":null,"reject-external-code":false,"security-advisories":[{"dependency-name":"transformers","patched-versions":[],"unaffected-versions":[],"affected-versions":[">= 0, < 4.48.0"]},{"dependency-name":"certifi","patched-versions":[],"unaffected-versions":[],"affected-versions":[">= 2021.5.30, < 2024.7.4"]},{"dependency-name":"transformers","patched-versions":[],"unaffected-versions":[],"affected-versions":["< 4.38.0"]},{"dependency-name":"transformers","patched-versions":[],"unaffected-versions":[],"affected-versions":["< 4.36.0"]},{"dependency-name":"certifi","patched-versions":[],"unaffected-versions":[],"affected-versions":[">= 2015.4.28, < 2023.7.22"]},{"dependency-name":"transformers","patched-versions":[],"unaffected-versions":[],"affected-versions":["< 4.30.0"]},{"dependency-name":"certifi","patched-versions":[],"unaffected-versions":[],"affected-versions":[">= 2017.11.05, < 2022.12.07"]}],"security-updates-only":true,"source":{"provider":"github","repo":"julep-ai/julep","branch":null,"api-endpoint":"https://api.github.com/","hostname":"github.com","directories":["/cozo-server/backup","/memory-store/backup","/model-serving"]},"updating-a-pull-request":false,"update-subdependencies":false,"vendor-dependencies":false,"enable-beta-ecosystems":false,"repo-private":false}}
    ...
    
    219:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Process PID: 1409 completed with status: pid 1409 exit 0
    220:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Total execution time: 0.0 seconds
    221:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Started process PID: 1416 with command: {} git config --global --add url.https://github.com/.insteadOf [email protected]/ {}
    222:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Process PID: 1416 completed with status: pid 1416 exit 0
    223:  2025/02/12 04:22:40 INFO <job_962935612> Total execution time: 0.0 seconds
    224:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Started process PID: 1423 with command: {} git config --global --add url.https://github.com/.insteadOf git://github.com/ {}
    225:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Process PID: 1423 completed with status: pid 1423 exit 0
    226:  2025/02/12 04:22:40 INFO <job_962935612> Total execution time: 0.0 seconds
    227:  updater | 2025/02/12 04:22:40 ERROR <job_962935612> Error during file fetching; aborting: No files found in /cozo-server/backup
    228:  proxy | 2025/02/12 04:22:40 [054] POST /update_jobs/962935612/record_update_job_error
    229:  proxy | 2025/02/12 04:22:40 [054] 204 /update_jobs/962935612/record_update_job_error
    230:  proxy | 2025/02/12 04:22:40 [056] PATCH /update_jobs/962935612/mark_as_processed
    231:  proxy | 2025/02/12 04:22:40 [056] 204 /update_jobs/962935612/mark_as_processed
    232:  updater | 2025/02/12 04:22:40 INFO <job_962935612> Finished job processing
    233:  updater | 2025/02/12 04:22:40 INFO Results:
    234:  Dependabot encountered '1' error(s) during execution, please check the logs for more details.
    235:  +---------------------------+
    236:  |          Errors           |
    237:  +---------------------------+
    238:  | dependency_file_not_found |
    239:  +---------------------------+
    240:  Failure running container 1415b50433b7ee81823ec6b03b706a55084e3d5f981d25d01c00606984fd7c53
    241:  Cleaned up container 1415b50433b7ee81823ec6b03b706a55084e3d5f981d25d01c00606984fd7c53
    242:  proxy | 2025/02/12 04:22:40 Posting metrics to remote API endpoint
    243:  2025/02/12 04:22:40 4/28 calls cached (14%)
    244:  ##[error]Dependabot encountered an error performing the update
    245:  
    246:  Error: The updater encountered one or more errors.
    247:  
    248:  For more information see: https://github.com/julep-ai/julep/network/updates/962935612 (write access to the repository is required to view the log)
    249:  🤖 ~ finished: error reported to Dependabot ~
    

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants