MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / togetherai

Method togetherai

core/src/llm/providers.rs:397–403  ·  view source on GitHub ↗

Create `TogetherAI` configuration

(api_key: impl Into<String>, model: impl Into<String>)

Source from the content-addressed store, hash-verified

395
396 /// Create `TogetherAI` configuration
397 pub fn togetherai(api_key: impl Into<String>, model: impl Into<String>) -> Self {
398 Self::TogetherAi {
399 api_key: api_key.into(),
400 model: model.into(),
401 base_url: None,
402 }
403 }
404
405 /// Create `xAI` configuration for Grok models
406 pub fn xai(api_key: impl Into<String>, model: impl Into<String>) -> Self {

Calls

no outgoing calls

Tested by 4

providersMethod · 0.36