Commit Graph

18 Commits

Author SHA1 Message Date
Kian Jones
fbd89c9360 fix: replace all 'PRODUCTION' references with 'prod' for consistency (#6627)
* fix: replace all 'PRODUCTION' references with 'prod' for consistency

Problem: Codebase had 11 references to 'PRODUCTION' (uppercase) that should
use 'prod' (lowercase) for consistency with the deployment workflows and
environment normalization.

Changes across 8 files:

1. Source files (using settings.environment):
   - letta/functions/function_sets/multi_agent.py
   - letta/services/tool_manager.py
   - letta/services/tool_executor/multi_agent_tool_executor.py
   - letta/services/helpers/agent_manager_helper.py
   All checks changed from: settings.environment == "PRODUCTION"
   To: settings.environment == "prod"

2. OTEL resource configuration:
   - letta/otel/resource.py
     - Updated _normalize_environment_tag() to handle 'prod' directly
     - Removed 'PRODUCTION' -> 'prod' mapping (no longer needed)
     - Updated device.id check from _env != "PRODUCTION" to _env != "prod"

3. Test files:
   - tests/managers/conftest.py
     - Fixture parameter changed from "PRODUCTION" to "prod"
   - tests/managers/test_agent_manager.py (3 occurrences)
   - tests/managers/test_tool_manager.py (2 occurrences)
   All test checks changed to use "prod"

Result: Complete consistency across the codebase:
- All environment checks use "prod" instead of "PRODUCTION"
- Normalization function simplified (no special case for PRODUCTION)
- Tests use correct "prod" value
- Matches deployment workflow configuration from PR #6626

This completes the environment naming standardization effort.

* fix: update settings.py environment description to use 'prod' instead of 'PRODUCTION'

The field description still referenced PRODUCTION as an example value.
Updated to use lowercase 'prod' for consistency with actual usage.

Before: "Application environment (PRODUCTION, DEV, CANARY, etc. - normalized to lowercase for OTEL tags)"
After: "Application environment (prod, dev, canary, etc. - lowercase values used for OTEL tags)"
2025-12-15 12:02:34 -08:00
Sarah Wooders
4df0a27eb0 chore: remove sync db (#4873) 2025-10-07 17:50:45 -07:00
Kian Jones
b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00
Kian Jones
22f70ca07c chore: officially migrate to submodule (#4502)
* remove apps/core and apps/fern

* fix precommit

* add submodule updates in workflows

* submodule

* remove core tests

* update core revision

* Add submodules: true to all GitHub workflows

- Ensure all workflows can access git submodules
- Add submodules support to deployment, test, and CI workflows
- Fix YAML syntax issues in workflow files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* remove core-lint

* upgrade core with latest main of oss

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 12:45:53 -07:00
Matthew Zhou
13d8eae9ef chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -07:00
Matthew Zhou
0bf797fab6 feat: Add back multi agent tools and protections for cloud (#3100) 2025-06-29 22:45:39 -07:00
Matthew Zhou
f25a262f42 fix: Remove async multiagent tool (#2994) 2025-06-24 15:17:45 -07:00
Matthew Zhou
3adfbc8a8b fix: Fix multi agent refactor (#1972) 2025-05-01 10:14:02 -07:00
cthomas
a4d7284ebe feat: unify input message type on agent step (#1820) 2025-04-21 13:49:46 -07:00
Matthew Zhou
f0ba8bbb1f feat: Make multi agent broadcast directly invoke step (#1355) 2025-03-20 17:05:04 -07:00
Matthew Zhou
512d97022b fix: Tweak performance on multi agent tooling (#1338) 2025-03-19 11:18:55 -07:00
cthomas
5304831a8e feat: multi-agent (#1243) 2025-03-12 22:51:55 -07:00
Matthew Zhou
f28ee6a47b feat: Modify multi agent broadcast for partial matching (#1208) 2025-03-06 13:26:59 -08:00
Matthew Zhou
dbd2190961 fix: Robust new streaming interface for multi-agent tooling (#907) 2025-02-05 16:20:52 -05:00
Matthew Zhou
f52200f434 feat: Robustify multi agent tools (#835) 2025-01-29 15:14:15 -08:00
Charles Packer
7764eba8a1 fix: new versions of send_message_to_agent that are async (#725)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-01-27 17:11:44 -08:00
mlong93
d6be7809d0 fix: deprecate cursor param and replace with before, after (#736)
Co-authored-by: Mindy Long <mindy@letta.com>
2025-01-23 14:17:25 -08:00
Matthew Zhou
2a31a7fbd5 feat: Native agent to agent messaging (#668) 2025-01-16 10:36:15 -08:00