Implement Planning Prompt Enhancements and LLM Usage Tracking
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 49s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 15s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m26s
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 49s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 15s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m26s
- Added new fields for goal query, user notes, max steps, and search query in the AiPromptPreviewBody to support planning prompts. - Integrated planning prompt handling in the preview_ai_prompt function, allowing for distinct processing of planning and exercise prompts. - Introduced LLM usage tracking in openrouter_chat_completion and planning_exercise_suggest functions to monitor AI call metrics. - Updated frontend components to accommodate new input fields for planning prompts, enhancing user experience and functionality.
This commit is contained in:
1 parent
0b203489f7
commit
9cee862c32
9 files changed
+679
-66
No files matched your search
@@ -196,6 +196,13 @@ def openrouter_chat_completion(
|
||||
cc,
|
||||
)
|
||||
|
||||
try:
|
||||
from planning_llm_usage import record_planning_llm_call
|
||||
|
||||
record_planning_llm_call(1)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
return joined
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user