Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: use tower service to express the routing logic#342

Open
Finistere wants to merge 1 commit intomain from
nexus-122-use-tower-service-to-express-the-routing-logic
Open

chore: use tower service to express the routing logic #342
Finistere wants to merge 1 commit intomain from
nexus-122-use-tower-service-to-express-the-routing-logic

Conversation

@Finistere
Copy link
Contributor

@Finistere Finistere commented Oct 6, 2025

No description provided.

This allows us to add the telemetry/metrics and maybe other things later
on as tower layers.
Copy link

linear bot commented Oct 6, 2025

@Finistere Finistere changed the title (削除) Nexus 122 use tower service to express the routing logic (削除ここまで) (追記) chore: use tower service to express the routing logic (追記ここまで) Oct 6, 2025
@Finistere Finistere force-pushed the nexus-118-basic-anthropic-proxy branch from 1e20664 to 20ceee6 Compare October 6, 2025 13:58
let mut router = Router::new().route(
"/v1/messages",
post({
let mut handler = v1_messages::Handler(proxy.clone());
Copy link
Contributor Author

@Finistere Finistere Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now here we can add layers onto the proxy.

@Finistere Finistere marked this pull request as ready for review October 6, 2025 14:19
Copy link
Contributor

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

Base automatically changed from nexus-118-basic-anthropic-proxy to main October 6, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@tomhoule tomhoule tomhoule approved these changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /