transitive-bullshit / agentic

AI agent stdlib that works with any LLM and TypeScript AI SDK.
https://agentic.so
MIT License
16.22k stars 2.12k forks source link

Support disabling storing message context #586

Closed kibertoad closed 3 months ago

kibertoad commented 1 year ago

Describe the feature

In case whole conversation is short, it doesn't make sense to waste memory and CPU by keeping its context, it is sufficient to pass prior context manually.

For such use-cases it would be great if there was an option to disable context storing entirely.

If this is approved, I can prepare a PR.

transitive-bullshit commented 3 months ago

This project is undergoing a major revamp; closing out old issues as part of the prep process.

The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.