generated from vercel/ai-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
merge #311
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
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
Unify views & actions -> tools
…mponent - Updated various package dependencies in package.json and pnpm-lock.yaml to their latest versions for improved performance and security. - Refactored the HyperliquidOrderInvocation component to enhance readability and maintainability, including adjustments to the market selection logic and added console logs for debugging purposes.
…position-market-finding-for-pepe Update package dependencies and improve HyperliquidOrderInvocation co…
…ndling and improve error messaging - Removed the agentWalletClientHL state and related references. - Updated the approveAgentIfNeeded function to create and return a new agent client on demand. - Simplified error handling for wallet connection checks. - Adjusted order placement logic to utilize the newly approved agent client. - Enhanced placeholder text for input fields for better user guidance.
…and enhance balance calculations - Introduced new types for margin and cross margin summaries. - Updated props to accept account state instead of positions. - Extracted positions and margin summary from account state for easier access. - Calculated total balance and available balance based on margin summary. - Adjusted displayed values to reflect unrealized PnL and added total balance information.
…d component - Introduced state management for the selected symbol to display the TradingView chart. - Implemented useEffect to set the initial symbol based on loaded positions. - Created a dropdown for unique symbols to allow users to select different positions for charting. - Enhanced the layout to include the TradingView widget and symbol selector within the card structure.
- Removed unused Address import from viem. - Cleaned up the code by removing unnecessary blank lines for improved readability.
…ng and error messaging - Replaced agentWalletClientHL with walletClientHL for clarity. - Updated handleCancelOrder to use the newly approved agent client. - Enhanced error handling for agent client retrieval and order cancellation. - Removed unnecessary checks related to agentWalletClientHL.
…ity and maintainability - Cleaned up import statements by consolidating related imports. - Removed unnecessary blank lines to improve overall code structure. - Ensured consistent formatting by adding a newline at the end of the file.
- Upgraded @ai-sdk/google from 1.2.11 to 1.2.12. - Updated various @radix-ui/react components to their latest versions for improved functionality and performance. - Incremented versions for lucide-react, react-hook-form, vitest, and pnpm package manager for better compatibility and features.
…osition-creation-with-wallet-checks-and-bridging-guidance Hyperliquid enhancements
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Share chat security
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.
No description provided.