mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 21:44:38 +00:00
* feat(local-ai): enhance Ollama installation and path configuration - Added a new command to set a custom path for the Ollama binary, allowing users to specify a manually installed version. - Updated the LocalModelPanel and Home components to reflect the installation state, including progress indicators for downloading and installing. - Enhanced error handling to display detailed installation errors and provide guidance for manual installation if needed. - Introduced a new state for 'installing' to improve user feedback during the Ollama installation process. - Refactored related components and utility functions to accommodate the new installation flow and error handling. This update improves the user experience by providing clearer feedback during the Ollama installation process and allowing for custom binary paths. * feat(local-ai): enhance LocalAIDownloadSnackbar and Home component - Updated LocalAIDownloadSnackbar to display installation phase details and improve progress bar animations during the installation state. - Refactored the display logic to show 'Installing...' when in the installing phase, enhancing user feedback. - Modified Home component to present warnings in a more user-friendly format, improving visibility of local AI status warnings. These changes improve the user experience by providing clearer feedback during downloads and installations. * feat(onboarding): update LocalAIStep to integrate Ollama installation - Added Ollama SVG icon to the LocalAIStep component for visual representation. - Updated text to clarify that OpenHuman will automatically install Ollama for local AI model execution. - Enhanced privacy and resource impact descriptions to reflect Ollama's functionality. - Changed button text to "Download & Install Ollama" for clearer user action guidance. - Improved messaging for users who skip Ollama installation, emphasizing future setup options. These changes enhance user understanding and streamline the onboarding process for local AI model usage. * feat(onboarding): update LocalAIStep and LocalAIDownloadSnackbar for improved user experience - Modified the LocalAIStep component to include a "Setup later" button for user convenience and updated the messaging to clarify the installation process for Ollama. - Enhanced the LocalAIDownloadSnackbar by repositioning it to the bottom-right corner for better visibility and user interaction. - Updated the Ollama SVG icon to include a white background for improved contrast and visibility. These changes aim to streamline the onboarding process and enhance user understanding of the local AI installation and usage. * feat(local-ai): add diagnostics functionality for Ollama server health check - Introduced a new diagnostics command to assess the Ollama server's health, list installed models, and verify expected models. - Updated the LocalModelPanel to manage diagnostics state and display errors effectively. - Enhanced error handling for prompt testing to provide clearer feedback on issues encountered. - Refactored related components and utility functions to support the new diagnostics feature. These changes improve the application's ability to monitor and report on the local AI environment, enhancing user experience and troubleshooting capabilities. * feat(local-ai): add Ollama diagnostics section to LocalModelPanel - Introduced a new diagnostics feature in the LocalModelPanel to check the health of the Ollama server, display installed models, and verify expected models. - Implemented loading states and error handling for the diagnostics process, enhancing user feedback during checks. - Updated the UI to present diagnostics results clearly, including server status, installed models, and any issues found. These changes improve the application's monitoring capabilities for the local AI environment, aiding in troubleshooting and user experience. * feat(local-ai): implement auto-retry for Ollama installation on degraded state - Enhanced the Home component to include a reference for tracking auto-retry status during Ollama installation. - Updated the local AI service to retry the installation process if the server state is degraded, improving resilience against installation failures. - Introduced a new method to force a fresh install of the Ollama binary, ensuring that users can recover from initial setup issues more effectively. These changes enhance the reliability of the local AI setup process, providing a smoother user experience during installation and recovery from errors. * feat(local-ai): improve Ollama server management and diagnostics - Refactored the Ollama server management logic to include a check for the runner's health, ensuring that the server can execute models correctly. - Introduced a new method to verify the Ollama runner's functionality by sending a lightweight request, enhancing error handling for server issues. - Added functionality to kill any stale Ollama server processes before restarting with the correct binary, improving reliability during server restarts. - Updated the server startup process to streamline the handling of server health checks and binary resolution. These changes enhance the robustness of the local AI service, ensuring better management of the Ollama server and improved diagnostics for user experience. * style: apply prettier and cargo fmt formatting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
982 B
JSON
30 lines
982 B
JSON
{
|
|
"name": "openhuman-repo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"app"
|
|
],
|
|
"resolutions": {
|
|
"@tauri-apps/api": "2.10.1"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn workspace openhuman-app build",
|
|
"compile": "yarn workspace openhuman-app compile",
|
|
"dev": "yarn workspace openhuman-app dev",
|
|
"dev:app": "yarn workspace openhuman-app dev:app",
|
|
"format": "yarn workspace openhuman-app format",
|
|
"format:check": "yarn workspace openhuman-app format:check",
|
|
"lint": "yarn workspace openhuman-app lint",
|
|
"lint:fix": "yarn workspace openhuman-app lint:fix",
|
|
"tauri": "yarn workspace openhuman-app tauri",
|
|
"test": "yarn workspace openhuman-app test",
|
|
"test:coverage": "yarn workspace openhuman-app test:coverage",
|
|
"test:rust": "yarn workspace openhuman-app test:rust",
|
|
"mock:api": "node scripts/mock-api-server.mjs",
|
|
"typecheck": "yarn workspace openhuman-app compile"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "2.10.1"
|
|
}
|
|
}
|