Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed stopping logic and passing list connected cids on sync #196

Merged
merged 4 commits into from
Feb 3, 2025

Conversation

NeonKirill
Copy link
Contributor

@NeonKirill NeonKirill commented Feb 2, 2025

Description

  • Graceful stopping of shout thread on stopping consumer
  • Sending list current conversation ids on sync (helpful if mq chatbots observer gets reconnected to prevent mismatching state)

Other Notes

@NeonKirill NeonKirill requested a review from NeonDaniel February 2, 2025 13:24
chatbot_core/v2/__init__.py Outdated Show resolved Hide resolved
@NeonKirill NeonKirill requested a review from NeonDaniel February 3, 2025 18:32
@NeonDaniel
Copy link
Member

Built and deployed alpha containers for:

  • chat-facilitator-automator
  • chat-facilitator-proctor
  • chatbot-wolfram
  • neon-llm-chatgpt

@NeonDaniel NeonDaniel merged commit a73bed9 into dev Feb 3, 2025
5 checks passed
@NeonDaniel NeonDaniel deleted the fixing_stopping_logic_and_passing_cids_on_sync branch February 3, 2025 23:32
@github-actions github-actions bot mentioned this pull request Feb 7, 2025
NeonDaniel added a commit that referenced this pull request Feb 10, 2025
# Changelog

##
[2.3.1a38](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a38)
(2025-02-07)

[Full
Changelog](2.3.1a37...2.3.1a38)

**Merged pull requests:**

- Update deprecation warnings
[\#198](#198)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a37](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a37)
(2025-02-07)

[Full
Changelog](2.3.1a36...2.3.1a37)

**Merged pull requests:**

- Minor changes to prep for stable release
[\#197](#197)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a36](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a36)
(2025-02-03)

[Full
Changelog](2.3.1a35...2.3.1a36)

**Merged pull requests:**

- Fixed stopping logic and passing list connected cids on sync
[\#196](#196)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a35](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a35)
(2025-01-29)

[Full
Changelog](2.3.1a34...2.3.1a35)

**Merged pull requests:**

- Update MQ init for compat. with klat-connector changes
[\#195](#195)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a34](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a34)
(2025-01-15)

[Full
Changelog](2.3.1a33...2.3.1a34)

**Merged pull requests:**

- Fix v2 chatbot thread handling and update license notices
[\#194](#194)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a33](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a33)
(2025-01-15)

[Full
Changelog](2.3.1a32...2.3.1a33)

**Merged pull requests:**

- Made `cli_start_mq_bot` hang infinitely to preserve main thread
[\#193](#193)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a32](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a32)
(2025-01-14)

[Full
Changelog](2.3.1a31...2.3.1a32)

**Merged pull requests:**

- Update dependencies to allow newer releases
[\#192](#192)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a31](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a31)
(2025-01-05)

[Full
Changelog](2.3.1a30...2.3.1a31)

**Merged pull requests:**

- Ad-hoc Fixes
[\#191](#191)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a30](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a30)
(2025-01-03)

[Full
Changelog](2.3.1a29...2.3.1a30)

**Merged pull requests:**

- Added handling of skip\_announcement and incremented MQ version
[\#190](#190)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a29](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a29)
(2024-12-13)

[Full
Changelog](2.3.1a28...2.3.1a29)

**Merged pull requests:**

- Incremented dependencies versions
[\#189](#189)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a28](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a28)
(2024-12-04)

[Full
Changelog](2.3.1a27...2.3.1a28)

**Implemented enhancements:**

- Proctor Base Class
[\#163](#163)

**Merged pull requests:**

- Async consumers support
[\#188](#188)
([NeonKirill](https://github.com/NeonKirill))

##
[2.3.1a27](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a27)
(2023-12-15)

[Full
Changelog](2.3.1a26...2.3.1a27)

**Merged pull requests:**

- Init logs per-bot
[\#187](#187)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a26](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a26)
(2023-12-14)

[Full
Changelog](2.3.1a25...2.3.1a26)

**Merged pull requests:**

- Chatbot base class tests
[\#186](#186)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a25](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a25)
(2023-12-11)

[Full
Changelog](2.3.1a24...2.3.1a25)

**Merged pull requests:**

- Update neon-mq-connector dependency to stable version
[\#185](#185)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a24](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a24)
(2023-12-11)

[Full
Changelog](2.3.1a23...2.3.1a24)

**Merged pull requests:**

- Minor logging updates
[\#184](#184)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a23](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a23)
(2023-12-09)

[Full
Changelog](2.3.1a22...2.3.1a23)

**Merged pull requests:**

- Port utils from Chatbots project
[\#183](#183)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a22](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a22)
(2023-12-08)

[Full
Changelog](2.3.1a21...2.3.1a22)

**Merged pull requests:**

- Add `bot_config` param with `Configuration` handling
[\#181](#181)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a21](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a21)
(2023-12-07)

[Full
Changelog](2.3.1a20...2.3.1a21)

**Implemented enhancements:**

- Refactor ParlAI bot class and bots
[\#151](#151)

**Merged pull requests:**

- Refactoring and Unit Tests
[\#182](#182)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a20](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a20)
(2023-12-01)

[Full
Changelog](2.3.1a19...2.3.1a20)

**Merged pull requests:**

- ParlAI Base class fix
[\#180](#180)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a19](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a19)
(2023-11-30)

[Full
Changelog](2.3.1a18...2.3.1a19)

**Merged pull requests:**

- Replace missing imports in `bot_utils.py`
[\#179](#179)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a18](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a18)
(2023-11-30)

[Full
Changelog](2.3.1a17...2.3.1a18)

**Merged pull requests:**

- Add CLI entrypoint to init an MQ bot
[\#178](#178)
([NeonDaniel](https://github.com/NeonDaniel))

##
[2.3.1a17](https://github.com/NeonGeckoCom/chatbot-core/tree/2.3.1a17)
(2023-11-29)

[Full
Changelog](2.3.0...2.3.1a17)

**Implemented enhancements:**

- Support for MQ-based Chatbots
[\#149](#149)
([NeonKirill](https://github.com/NeonKirill))

**Fixed bugs:**

- Fix Unit Tests
[\#150](#150)

**Merged pull requests:**

- Update setup.py to resolve PyPI publication failure
[\#177](#177)
([NeonDaniel](https://github.com/NeonDaniel))
- Update automation and cleanup for release
[\#176](#176)
([NeonDaniel](https://github.com/NeonDaniel))
- Added context data on chatbot connection
[\#175](#175)
([NeonKirill](https://github.com/NeonKirill))
- Chatbots V2 API Context Support
[\#174](#174)
([NeonKirill](https://github.com/NeonKirill))
- Incremented MQ dependency to support mq callbacks
[\#173](#173)
([NeonKirill](https://github.com/NeonKirill))
- Added callback to the send\_shout\(\) - generated shout id
[\#172](#172)
([NeonKirill](https://github.com/NeonKirill))
- Fixed abstain detection
[\#171](#171)
([NeonKirill](https://github.com/NeonKirill))
- Announcements Support
[\#170](#170)
([NeonKirill](https://github.com/NeonKirill))
- Moved logger to the base class
[\#169](#169)
([NeonKirill](https://github.com/NeonKirill))
- Update dependencies \(13-04-2022\)
[\#168](#168)
([NeonKirill](https://github.com/NeonKirill))
- Chatbots MQ Communication Update
[\#167](#167)
([NeonKirill](https://github.com/NeonKirill))
- Support for MQ-based Proctored Conversations \(Subminds
Implementation\)
[\#165](#165)
([NeonKirill](https://github.com/NeonKirill))
- ParlAI troubleshooting
[\#164](#164)
([NeonKirill](https://github.com/NeonKirill))
- Generic Version Utility
[\#162](#162)
([NeonKirill](https://github.com/NeonKirill))
- Increment version to 2.3.0
[\#157](#157)
([NeonDaniel](https://github.com/NeonDaniel))
- Update core tests to test against mach server to isolate testing
[\#156](#156)
([NeonDaniel](https://github.com/NeonDaniel))
- Update versioning automation
[\#155](#155)
([NeonDaniel](https://github.com/NeonDaniel))
- Update klat-connector dependency to use pypi package
[\#154](#154)
([NeonDaniel](https://github.com/NeonDaniel))
- Unit Test Fixes and Improvements
[\#152](#152)
([NeonDaniel](https://github.com/NeonDaniel))
- Update function descriptions in README.md
[\#148](#148)
([NeonVitaliy](https://github.com/NeonVitaliy))
- Draft ParlaiBot class
[\#146](#146)
([NeonAndrii](https://github.com/NeonAndrii))
- Fix Uncovered bug in register on login logic
[\#144](#144)
([NeonDaniel](https://github.com/NeonDaniel))
- Add Prompter bot support
[\#141](#141)
([NeonDaniel](https://github.com/NeonDaniel))
- Update README.md
[\#140](#140)
([NeonKirill](https://github.com/NeonKirill))
- Fix neon bot prompter
[\#138](#138)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix @proctor prompt handling
[\#137](#137)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix bot selection string matching
[\#136](#136)
([NeonDaniel](https://github.com/NeonDaniel))
- Minor logging changes and bugfixes
[\#135](#135)
([NeonDaniel](https://github.com/NeonDaniel))
- Increment version to 2.0.0
[\#132](#132)
([NeonDaniel](https://github.com/NeonDaniel))
- Use unique prompt id for vote counting
[\#129](#129)
([NeonDaniel](https://github.com/NeonDaniel))
- Add support for running a bot as a prompter
[\#128](#128)
([NeonDaniel](https://github.com/NeonDaniel))
- Update git testing and automation
[\#125](#125)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix Recursive Shout Handling
[\#124](#124)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix case sensitivity issues in \_clean\_options function
[\#122](#122)
([NeonDaniel](https://github.com/NeonDaniel))
- Update license notices
[\#121](#121)
([NeonDaniel](https://github.com/NeonDaniel))
- Update license
[\#120](#120)
([NeonDaniel](https://github.com/NeonDaniel))
- Add a thread safety check in cleanup
[\#117](#117)
([NeonDaniel](https://github.com/NeonDaniel))
- Messagebus NeonBot fixes
[\#115](#115)
([NeonDaniel](https://github.com/NeonDaniel))
- Feat messagebus bot restarts
[\#113](#113)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix server stop with no server arg
[\#111](#111)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix lowercase names in testing
[\#110](#110)
([NeonDaniel](https://github.com/NeonDaniel))
- Fix lowercased names in objects
[\#109](#109)
([NeonDaniel](https://github.com/NeonDaniel))
- Feat handle stop bot args
[\#107](#107)
([NeonDaniel](https://github.com/NeonDaniel))
- Closest Answer Finder \(restored\)
[\#106](#106)
([NeonKirill](https://github.com/NeonKirill))
- Troubleshooting credential file cli option
[\#104](#104)
([NeonDaniel](https://github.com/NeonDaniel))
- Feat improved waiting for exit
[\#102](#102)
([NeonDaniel](https://github.com/NeonDaniel))
- Troubleshooting setup requirements, ParlAI dir errors
[\#99](#99)
([NeonDaniel](https://github.com/NeonDaniel))
- Replace clean\_up\_bot function and call on exit
[\#97](#97)
([NeonDaniel](https://github.com/NeonDaniel))
- Dev [\#96](#96)
([NeonDaniel](https://github.com/NeonDaniel))



\* *This Changelog was automatically generated by
[github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
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.

3 participants