Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb438e22d6 |
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.10.9] - 2026-01-08
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **Environment user ID cleanup** - Strip email domain from user identifier
|
||||||
|
- If `preferred_username` is an email, extract just the username part
|
||||||
|
- Ensures Qdrant collection name matches (e.g., `volatile_jpmschweitzer` not `volatile_jpmschweitzer@gmail.com`)
|
||||||
|
|
||||||
## [1.10.8] - 2026-01-08
|
## [1.10.8] - 2026-01-08
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "core-api"
|
name = "core-api"
|
||||||
version = "1.10.8"
|
version = "1.10.9"
|
||||||
description = "Core Code API - Infrastructure management and tools API"
|
description = "Core Code API - Infrastructure management and tools API"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
@@ -198,6 +198,9 @@ class ToolsController(BaseController):
|
|||||||
user_id = "default"
|
user_id = "default"
|
||||||
if user:
|
if user:
|
||||||
user_id = user.get("preferred_username") or user.get("sub", "default")
|
user_id = user.get("preferred_username") or user.get("sub", "default")
|
||||||
|
# Strip email domain if present (e.g., "user@example.com" -> "user")
|
||||||
|
if "@" in user_id:
|
||||||
|
user_id = user_id.split("@")[0]
|
||||||
|
|
||||||
logger.info(f"Fetching environment data for user: {user_id}")
|
logger.info(f"Fetching environment data for user: {user_id}")
|
||||||
result = await self.environment_service.get_current(user_id)
|
result = await self.environment_service.get_current(user_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user