Skip to content

Conversation

@mbuptivo
Copy link

This PR allows to retrieve an OpenAI thread instead of creating a new one on each session.
Adding the key: OPENAI_CHANNEL_THREADS=true to .env file enables the feature.

If no thread exists, it is created and saved in the channel metadata with key "openaiThreadId", else it is retrieved.

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.

1 participant