Files
prompt-optimizer/packages/web
linshen 78ed263e95 refactor: Modify usePromptOptimizer and usePromptTester to use Ref for promptService
- Update composables to accept Ref<PromptService | null> instead of direct service
- Modify service method calls to use .value for reactive references
- Add Vue Ref import to support the new type
- Update App.vue to use ref for promptService initialization
- Add watchers to refresh history on version changes and history view
2025-02-15 22:55:32 +08:00
..