Skip to content

Enhance trace logging and error handling across components#1330

Merged
trheyi merged 2 commits intoYaoApp:mainfrom
trheyi:main
Nov 20, 2025
Merged

Enhance trace logging and error handling across components#1330
trheyi merged 2 commits intoYaoApp:mainfrom
trheyi:main

Conversation

@trheyi
Copy link
Contributor

@trheyi trheyi commented Nov 20, 2025

No description provided.

- Integrated trace management into the Assistant's Stream method, allowing for detailed logging of processing steps and errors.
- Improved error handling in the OpenAI stream and post methods, adding trace logs for retries and failures.
- Enhanced CUI and OpenAI writers to log message adaptation and sending errors, improving debugging capabilities.
- Updated trace manager to use milliseconds for timestamps, ensuring consistency across the trace system.
- Refactored log methods in the trace node to streamline logging and broadcasting of events.
- Adjusted formatting of the TraceLog struct in driver.go to enhance code clarity and maintainability by aligning comments and struct fields.
@trheyi trheyi merged commit b58790f into YaoApp:main Nov 20, 2025
2 of 3 checks passed
@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL5.7 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL5.7 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant