Skip to content
This repository was archived by the owner on Aug 7, 2026. It is now read-only.

Refactor chat_continue to improve instruction following and add multi… - #6

Merged
ProCreations-Official merged 1 commit into
mainfrom
feature/chat-continue-improvements
Aug 15, 2025
Merged

Refactor chat_continue to improve instruction following and add multi…#6
ProCreations-Official merged 1 commit into
mainfrom
feature/chat-continue-improvements

Conversation

@ProCreations-Official

Copy link
Copy Markdown
Collaborator

…-turn chat support.

The chat_continue function has been updated to:

  • Persist parameters from get_smart_docs calls using a global chat_state dictionary.
  • Re-fetch library documentation on each call to provide fresh context.
  • Use the full chat history to construct a more informative prompt for the AI.
  • Use the same AI model as the original get_smart_docs call.

A new test has been added to test_server.py to verify the new behavior of chat_continue, including its ability to handle multi-turn conversations. The existing tests have also been updated to ensure they are still valid.

…-turn chat support.

The `chat_continue` function has been updated to:
- Persist parameters from `get_smart_docs` calls using a global `chat_state` dictionary.
- Re-fetch library documentation on each call to provide fresh context.
- Use the full chat history to construct a more informative prompt for the AI.
- Use the same AI model as the original `get_smart_docs` call.

A new test has been added to `test_server.py` to verify the new behavior of `chat_continue`, including its ability to handle multi-turn conversations. The existing tests have also been updated to ensure they are still valid.
@claude

claude Bot commented Aug 15, 2025

Copy link
Copy Markdown

Claude encountered an error —— View job


I'll analyze this and get back to you.

@ProCreations-Official
ProCreations-Official merged commit 75072c7 into main Aug 15, 2025
1 check failed
@ProCreations-Official
ProCreations-Official deleted the feature/chat-continue-improvements branch August 15, 2025 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant