-
Notifications
You must be signed in to change notification settings - Fork 0
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
Navie commands are logged to a jsonl file #1
Comments
ProblemNavie commands are recorded, but the current logging mechanism isn't detailed enough to capture specific command attributes and their context in a structured format. AnalysisTo provide better traceability and debugging, the logging process should be enhanced to log commands to a JSONL file with distinct fields for the command name, options, user question, custom prompt, timestamp, and elapsed time. Specifically, this should be implemented in the The log entries should be JSON objects with clear keys for each piece of information:
The command options and the main query should be captured without reparsing the command strings if they have already been parsed. This requires minor modifications to the data flow in the Proposed Changes
ExampleUpdating
|
Update the Client to log Navie commands to a jsonl file.
The log file should include distinct fields for:
@plan
,@generate
/noformat
, as an array (options can be split on whitespace)Focus on the
plan
function initially.Try not to reparse command strings that have already been parsed.
Output format
v4
The text was updated successfully, but these errors were encountered: