← Back to context

Comment by codedokode

2 months ago

I decided just to look at the code for a moment and discovered ChainMap in Python.

This is excellent for some of my usages. I want to have my AI agents "fork" their context in some ways, this could be useful for that instead of juggling a tree of dictionaries.

Ha, that's cool. I have implemented a crappy and probably broken version of this type before. Next time I won't have to!