Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shuyangli
Copy link
Member

@shuyangli shuyangli commented Dec 23, 2025

Fixes #5348


Important

Replace hyphens with underscores in API routes across the codebase, updating handlers, tests, and documentation accordingly.

  • API Routes:
    • Replace hyphens with underscores in API routes in internal.rs, UiConfig.ts, and get_config.rs.
    • Affects routes like /internal/functions/{function_name}/variant-performances to /internal/functions/{function_name}/variant_performances.
  • Documentation:
    • Update AGENTS.md to reflect the new route naming convention.
  • Tests:
    • Update E2E tests in episodes.rs, evaluations.rs, feedback.rs, functions.rs, inference_count.rs, and workflow_evaluations.rs to use underscores in API routes.
  • Client Code:
    • Update tensorzero.ts to use underscores in API routes for client requests.

This description was created by Ellipsis for 8960fc1. You can customize this summary. It will automatically update as commits are pushed.

@shuyangli shuyangli force-pushed the sl/rename-stats-to-count-routes branch from 50cd499 to 1e68be1 Compare December 23, 2025 11:56
@shuyangli shuyangli force-pushed the sl/hyphen-to-underscores-apis branch from 6d00c8e to 1548f44 Compare December 23, 2025 11:56
@shuyangli shuyangli force-pushed the sl/rename-stats-to-count-routes branch from 1e68be1 to dbc7866 Compare December 23, 2025 12:37
Base automatically changed from sl/rename-stats-to-count-routes to main December 23, 2025 16:21
@shuyangli shuyangli force-pushed the sl/hyphen-to-underscores-apis branch from 1548f44 to 8960fc1 Compare December 23, 2025 19:39
@shuyangli shuyangli changed the title [Stacked] Replace hyphen with understores in API routes Replace hyphen with understores in API routes Dec 23, 2025
@shuyangli shuyangli marked this pull request as ready for review December 23, 2025 19:46
@shuyangli shuyangli mentioned this pull request Dec 23, 2025
52 tasks
@GabrielBianconi GabrielBianconi added this pull request to the merge queue Dec 23, 2025
Merged via the queue into main with commit cfd049a Dec 23, 2025
57 checks passed
@GabrielBianconi GabrielBianconi deleted the sl/hyphen-to-underscores-apis branch December 23, 2025 21:53
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.

Deprecate and remove unversioned gateway routes with hyphens (prefer underscores)

3 participants