(&self, id: &str)
| 1051 | } |
| 1052 | |
| 1053 | fn get_model(&self, id: &str) -> Option<&ModelInfo> { |
| 1054 | if id == self.model.id { |
| 1055 | Some(&self.model) |
| 1056 | } else { |
| 1057 | None |
| 1058 | } |
| 1059 | } |
| 1060 | |
| 1061 | async fn chat(&self, _request: ChatRequest) -> Result<ChatResponse, ProviderError> { |
| 1062 | Err(ProviderError::InvalidRequest( |
nothing calls this directly
no outgoing calls
no test coverage detected