Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 113 additions & 0 deletions aimux-providers/layout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -812,3 +812,116 @@ issue = 275
upstream = "src/version.ts"
status = "not-applicable"
reason = "the crate version is used instead (RFC-0046 §4.2)"

[cohere]
package = "@ai-sdk/cohere"

[[cohere.files]]
upstream = "src/cohere-chat-language-model-options.ts"
rust = "cohere/convert.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-chat-language-model.ts"
rust = "cohere/model.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-chat-prompt.ts"
rust = "cohere/convert.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-embedding-model-options.ts"
rust = "cohere/embedding.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-embedding-model.ts"
rust = "cohere/embedding.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-error.ts"
rust = "cohere/mod.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-prepare-tools.ts"
rust = "cohere/convert.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/cohere-provider.ts"
rust = "cohere/mod.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/convert-cohere-usage.ts"
rust = "cohere/model.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/convert-to-cohere-chat-prompt.ts"
rust = "cohere/convert.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/index.ts"
rust = "cohere/mod.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/map-cohere-finish-reason.ts"
rust = "cohere/convert.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/reranking/cohere-reranking-api.ts"
rust = "cohere/reranking.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/reranking/cohere-reranking-model-options.ts"
rust = "cohere/reranking.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/reranking/cohere-reranking-model.ts"
rust = "cohere/reranking.rs"
status = "mapped"

[cohere.files.tests]

[[cohere.files]]
upstream = "src/version.ts"
status = "not-applicable"
reason = "the crate version is used instead (RFC-0046 §4.2)"
3 changes: 3 additions & 0 deletions aimux-providers/src/cohere/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,6 @@ impl ProviderDiscovery for CohereProvider {
})
}
}

#[cfg(test)]
mod tests;
Loading
Loading