好像 custom 有些 bug ,我接入英伟达的接口,模型 minimax2.1 ,返回的结果:
```
<think>The changes are:
1. In `src/
pool.rs`:
- Added `use log::error;` import
- Changed two `self.ticks.update(...)` calls from using the try operator (`?`) to using `match` expressions that log an error and return the error if one occurs.
2. In `src/
quoter.rs`:
- Added `use log::error;` import
- Changed the `pool.get_output_amount(...)` call from using the try operator (`?`) to using a `match` expression that logs an error and returns the error if one occurs.
The changes are about error handling and logging. They are making the error handling more explicit by logging errors before returning them.
The most significant change is the addition of error logging in both files. This is a fix in the sense that it improves error reporting, but it doesn't fix a bug per se. It's more of a refactor to add logging.
The conventional commit type for such changes would be either `fix` (if we consider it as fixing the lack of logging) or `refactor` (if we consider it as refactoring the error handling). However, since the primary purpose is to add logging for better error reporting, I think `
```