Add webhook already handled check
Fix all tests Add woodpecker ci (tests + release)
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ impl OpenRouterClient {
|
||||
Ok(ChatResult {
|
||||
message: response.choices[0]
|
||||
.content()
|
||||
.map(|msg| String::from(msg))
|
||||
.map(String::from)
|
||||
.ok_or(anyhow::anyhow!("No content"))?,
|
||||
cost: response.usage.and_then(|u| u.cost),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user