julep-ai / julep

A new DSL and server for AI agents and multi-step tasks
https://julep.ai
Apache License 2.0
2.66k stars 911 forks source link

fix(agents-api): Fix blob store, ifelse branch, temporal postgres #882

Closed creatorrr closed 1 day ago

creatorrr commented 1 day ago

[!IMPORTANT] Fixes blob store handling, improves retry logic, and updates configurations for agents API, memory store, and scheduler.

  • Blob Store Handling:
    • In execute_system.py, added logic to load arguments from blob store if they contain bucket and key.
    • In storage_handler.py, updated load_from_blob_store_if_remote() to handle dicts with bucket and key.
  • Retry Logic:
    • In models/utils.py, increased retry attempts from 2 to 4 in is_resource_busy().
    • Updated error handling in cozo_query() to check both e and e.resp for 'busy' status.
  • Workflow Execution:
    • In helpers.py, modified execute_if_else_branch() to handle None else_branch by setting a default EvaluateStep.
  • Configuration Updates:
    • In memory-store/docker-compose.yml, added develop section for file watching and rebuild actions.
    • In memory-store/options, increased max_background_jobs to 32 and max_subcompactions to 8.
    • In scheduler/docker-compose.yml, set temporal-db-data volume to external.

This description was created by Ellipsis for fa011a9e59277d132c37d701bd537119fccbcda5. It will automatically update as commits are pushed.