Skip to content

Comments

fix(memory): fix env name of viking db memory type#249

Merged
cuericlee merged 1 commit intomainfrom
fix/memenv
Oct 24, 2025
Merged

fix(memory): fix env name of viking db memory type#249
cuericlee merged 1 commit intomainfrom
fix/memenv

Conversation

@yaozheng-fang
Copy link
Collaborator

No description provided.

env_memory_type = os.getenv("DATABASE_VIKINGMEM_MEMORY_TYPE")
if env_memory_type:
# "event_1, event_2" -> ["event_1", "event_2"]
self.memory_type = [x.strip() for x in env_memory_type.split(",")]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add default value
else:
self.memory_type = ["sys_event_v1", "event_v1"]

Copy link
Collaborator

@cuericlee cuericlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@cuericlee cuericlee merged commit 3a02bf9 into main Oct 24, 2025
15 checks passed
@yaozheng-fang yaozheng-fang deleted the fix/memenv branch October 27, 2025 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants