-
Notifications
You must be signed in to change notification settings - Fork 55
Add AI Chat WebTool #269
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
Open
esatiyev
wants to merge
25
commits into
ArduPilot:main
Choose a base branch
from
esatiyev:chat-webtool-v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add AI Chat WebTool #269
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…msg typo; changed label's for to match input id
- Added and Fixed functions to set, get, delete, and check wakeup timers - Implemented get_mode_mapping function - Fixed minor UI design issue - Updated handleTranscription to add FormData field language=en to enforce English in Whisper transcription
…UI change - Added case 22 in mavlink_msg_handler for handling PARAM_VALUE messages - Converted handle_function_call to async - Added functions for use in handle_function_call: - get_parameter - get_all_parameters - get_parameter_description - set_parameter - get_mavlink_message - get_available_mavlink_messages - Made small UI adjustments - Made small UI adjustments
…perties of null (reading 'apiKey') Added a new “Connect AI” button so users can initialize the assistant before sending messages Linked the button to the connection routine and exposed the function globally for other modules Updated audio transcription to ensure a connection to OpenAI exists before sending the audio for processing
- Add "Start New Chat" button and support for restoring previous chat sessions with thread id - Display prompt to continue or reset previous sessions on page load - Introduce chat busy state to prevent race conditions; disable UI controls during chat operations - Remove unnecessary functions for arming/disarming vehicle - Enhance parameter metadata loading - Clean up labels, error handling, and general code structure
and added mavftp (cherry picked from commit 90dfb75)
- Added OpenAI Realtime API integration alongside Assistant API - Unified both into a single webtool with mode chooser (user selects once) - Improved chat handling: prevent repeated actions - Modernized UI layout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR replaces my earlier PR #264.
As requested, I created a new PR instead of updating the previous one. It includes all the previous changes plus the requested updates and improvements.
Summary of updates
All changes have been tested locally.
gsoc_test_video.webm