feat(tests): enhance modelTesterSession tests and add proxy logs tests

- Updated modelTesterSession tests to serialize assistant history as output_text and removed mime_type from input_file.
- Introduced new tests for stats proxy logs routes, covering paginated log retrieval and detailed log views with parsed billing details.
- Added server-driven tests for ProxyLogs component to validate API interactions and UI rendering based on server data.
This commit is contained in:
cita
2026-03-09 13:48:39 +08:00
parent 3dcf45851f
commit 136a038538
28 changed files with 1631 additions and 727 deletions
+19 -1
View File
@@ -15,11 +15,29 @@ We are committed to providing a welcoming, harassment-free community for everyon
- Harassment, discrimination, or abusive language
- Personal attacks or intimidation
- Publishing others' private information without consent
- Deliberate disruption, trolling, or bad-faith escalation
- Repeatedly ignoring maintainer moderation requests
## Reporting
- Email `cita-777@users.noreply.github.com` with subject prefix `[metapi conduct]`.
- Include links, screenshots, timestamps, and any context that helps reconstruct the incident.
- If the incident is happening directly on GitHub and needs urgent platform action, also use GitHub's built-in report tools.
- We will keep reporter details as private as practical and do not allow retaliation for good-faith reports.
## Enforcement
Project maintainers are responsible for clarifying and enforcing this code of conduct.
They may remove, edit, or reject comments, commits, code, and contributions that do not align with this policy.
Possible actions include:
- editing or removing comments, issues, discussions, or PR content
- warning the contributor
- locking threads or limiting participation in project spaces
- rejecting contributions or blocking a contributor from repository spaces
- escalating serious cases to GitHub or another hosting provider
We aim to acknowledge conduct reports within 7 days when possible and will review the available evidence before taking action.
## Scope