feat(models-http-api): add rate limit support for completion and chat #3468
0.00% of diff hit (target 75.00%)
View this Pull Request on Codecov
0.00% of diff hit (target 75.00%)
Annotations
Check warning on line 20 in crates/http-api-bindings/src/chat/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/chat/mod.rs#L20
Added line #L20 was not covered by tests
Check warning on line 36 in crates/http-api-bindings/src/chat/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/chat/mod.rs#L36
Added line #L36 was not covered by tests
Check warning on line 44 in crates/http-api-bindings/src/chat/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/chat/mod.rs#L39-L44
Added lines #L39 - L44 were not covered by tests
Check warning on line 17 in crates/http-api-bindings/src/completion/llama.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/llama.rs#L17
Added line #L17 was not covered by tests
Check warning on line 20 in crates/http-api-bindings/src/completion/llama.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/llama.rs#L20
Added line #L20 was not covered by tests
Check warning on line 24 in crates/http-api-bindings/src/completion/llama.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/llama.rs#L24
Added line #L24 was not covered by tests
Check warning on line 24 in crates/http-api-bindings/src/completion/mistral.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/mistral.rs#L24
Added line #L24 was not covered by tests
Check warning on line 29 in crates/http-api-bindings/src/completion/mistral.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/mistral.rs#L29
Added line #L29 was not covered by tests
Check warning on line 37 in crates/http-api-bindings/src/completion/mistral.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/mistral.rs#L37
Added line #L37 was not covered by tests
Check warning on line 23 in crates/http-api-bindings/src/completion/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/mod.rs#L16-L23
Added lines #L16 - L23 were not covered by tests
Check warning on line 47 in crates/http-api-bindings/src/completion/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/mod.rs#L25-L47
Added lines #L25 - L47 were not covered by tests
Check warning on line 57 in crates/http-api-bindings/src/completion/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/mod.rs#L54-L57
Added lines #L54 - L57 were not covered by tests
Check warning on line 28 in crates/http-api-bindings/src/completion/openai.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/openai.rs#L28
Added line #L28 was not covered by tests
Check warning on line 32 in crates/http-api-bindings/src/completion/openai.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/openai.rs#L32
Added line #L32 was not covered by tests
Check warning on line 38 in crates/http-api-bindings/src/completion/openai.rs
codecov / codecov/patch
crates/http-api-bindings/src/completion/openai.rs#L38
Added line #L38 was not covered by tests
Check warning on line 51 in crates/http-api-bindings/src/embedding/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/embedding/mod.rs#L50-L51
Added lines #L50 - L51 were not covered by tests
Check warning on line 53 in crates/http-api-bindings/src/embedding/mod.rs
codecov / codecov/patch
crates/http-api-bindings/src/embedding/mod.rs#L53
Added line #L53 was not covered by tests
Check warning on line 25 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L14-L25
Added lines #L14 - L25 were not covered by tests
Check warning on line 38 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L33-L38
Added lines #L33 - L38 were not covered by tests
Check warning on line 50 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L43-L50
Added lines #L43 - L50 were not covered by tests
Check warning on line 54 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L53-L54
Added lines #L53 - L54 were not covered by tests
Check warning on line 68 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L63-L68
Added lines #L63 - L68 were not covered by tests
Check warning on line 80 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L73-L80
Added lines #L73 - L80 were not covered by tests
Check warning on line 85 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L84-L85
Added lines #L84 - L85 were not covered by tests
Check warning on line 99 in crates/http-api-bindings/src/rate_limit.rs
codecov / codecov/patch
crates/http-api-bindings/src/rate_limit.rs#L94-L99
Added lines #L94 - L99 were not covered by tests