Releases: 3ls-it/openai-assistant
Releases · 3ls-it/openai-assistant
openai-assistant v2.2.1
OpenAI Assistant v2.2.0
*Added file upload capabilities with file browser.
*Added pop-up dialogue boxes for file uploading, quit, and "About".
openai-assistant v2.1.1
v2.1.1 minor update
v2.1.0 changes:
New CLI flags
* --no-upload: Skip uploading ~/.openai/chat_log.txt on startup.
* --reset-assistant: Clear ASSISTANT_ID in settings before startup (forces new assistant creation).
* --reset-store: Clear VECTOR_STORE_ID in settings before startup (forces new vector store).
Code changes
* Added argparse and flag parsing in the __main__ path.
* Extended Openai_API.setup(upload_log: bool = True) so upload can be skipped.
* Kept existing behavior intact when flags are not used.
* Updated startup console message when upload is skipped.
A separate, human-readable API log:
* File: ~/.openai/api.log
* Rotation: daily at midnight, keeping 7 days (TimedRotatingFileHandler)
* Levels: INFO by default; DEBUG with --debug-api
New CLI flag
* --debug-api: enable DEBUG-level logging for more verbose diagnostics
Instrumentation points (what gets logged)
* Startup summary (model, temp, whether ASSISTANT_ID/VECTOR_STORE_ID are present)
* Assistant lifecycle:
- Retrieved/created assistant ID
- Instructions synced (when settings changed)
* Vector store lifecycle:
- Retrieved/created vector store ID
* File upload:
- Skip reason (empty/missing chat_log.txt)
- Upload start (DEBUG, vector store ID)
- Upload result status and file_counts (INFO)
- Errors (APIConnectionError, RateLimitError, APIStatusError, Unexpected)
* Conversation run lifecycle:
- Run started (INFO)
- Run completed with elapsed time and response length (INFO)
- Errors (APIConnectionError, RateLimitError, APIStatusError, Unexpected)
Keep chat log clean
* All API/system events now go to api.log.
* ~/.openai/chat_log.txt continues to capture only dialogue (user and assistant messages), as before.
How to use
* Normal run (INFO logs):
- ./openai-assistant
* Verbose API debug logging:
- ./openai-assistant --debug-api
* Tail logs while troubleshooting:
- tail -f ~/.openai/api.log
v2.1.1 additions:
* Small refactoring tweaks
* Comment updates/clean-up
* Updated `requirements.txt`
* Updated `README.md`
openai-assistant v2.1.0
v2.1.0 changes:
New CLI flags
* --no-upload: Skip uploading ~/.openai/chat_log.txt on startup.
* --reset-assistant: Clear ASSISTANT_ID in settings before startup (forces new assistant creation).
* --reset-store: Clear VECTOR_STORE_ID in settings before startup (forces new vector store).
Code changes
* Added argparse and flag parsing in the __main__ path.
* Extended Openai_API.setup(upload_log: bool = True) so upload can be skipped.
* Kept existing behavior intact when flags are not used.
* Updated startup console message when upload is skipped.
A separate, human-readable API log:
* File: ~/.openai/api.log
* Rotation: daily at midnight, keeping 7 days (TimedRotatingFileHandler)
* Levels: INFO by default; DEBUG with --debug-api
New CLI flag
* --debug-api: enable DEBUG-level logging for more verbose diagnostics
Instrumentation points (what gets logged)
* Startup summary (model, temp, whether ASSISTANT_ID/VECTOR_STORE_ID are present)
* Assistant lifecycle:
- Retrieved/created assistant ID
- Instructions synced (when settings changed)
* Vector store lifecycle:
- Retrieved/created vector store ID
* File upload:
- Skip reason (empty/missing chat_log.txt)
- Upload start (DEBUG, vector store ID)
- Upload result status and file_counts (INFO)
- Errors (APIConnectionError, RateLimitError, APIStatusError, Unexpected)
* Conversation run lifecycle:
- Run started (INFO)
- Run completed with elapsed time and response length (INFO)
- Errors (APIConnectionError, RateLimitError, APIStatusError, Unexpected)
Keep chat log clean
* All API/system events now go to api.log.
* ~/.openai/chat_log.txt continues to capture only dialogue (user and assistant messages), as before.
How to use
* Normal run (INFO logs):
- ./openai-assistant
* Verbose API debug logging:
- ./openai-assistant --debug-api
* Tail logs while troubleshooting:
- tail -f ~/.openai/api.log
openai-assistant v2.0.4
v2.0.4 changes:
Changes to Openai_API methods setup() and file_upload():
Compose instructions and include FURTHER_INSTRUCTIONS:
* instructions = f"You are {self.assistant_name}, {self.your_name}'s personal AI assistant."
* further = (self.config.get("FURTHER_INSTRUCTIONS") or "").strip()
* if further: instructions = f"{instructions}\n\n{further}"
Update assistant with vector store and sync instructions in a single call:
* Build update_kwargs with tool_resources.
* If assistant.instructions != instructions, include "instructions" in update_kwargs.
* Call self.client.beta.assistants.update(**update_kwargs).
* When the assistant’s instructions need updating (due to changes in YOUR_NAME or FURTHER_INSTRUCTIONS),
the app will now print:
Synced assistant instructions with settings (YOUR_NAME and FURTHER_INSTRUCTIONS).
This message only appears if instructions were actually changed during setup; otherwise, it stays quiet.
Added robust error handling and logging for vector store upload and streaming.
* Upload failures no longer crash startup; a clear status is returned and printed by the main flow.
* Assistant update issues don’t prevent the app from starting a chat; you’ll see a clear warning.
* Streaming now has a safety net for unforeseen errors, with logging to help diagnose.
openai-assistant v2.0.3
Removed images from release, added comments.
openai-assistant v2.0.2
Added more exception handling.
openai-assistant v2.0.1
Full Changelog: v2.0.0...v2.0.1
openai-assistant v2.0.0
Full Changelog: v1.0.6...v2.0.0
openai-assistant v2.0.0-beta
Initial release of a v2.0. Everything seems to work as expected; still testing edge cases. Most classes/methods/functions still have empty docstrings; working on that and other minor tweaks.