ruby_llm 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c88c057a541d5c27c5ab61a9bcf6db9e20c702fdb34b5b26d2d3154128f8dbd
4
- data.tar.gz: d425e78899c69aa798838f0f3bf6e6f99f3e3ddc9c9057ded3bd7360b482acd1
3
+ metadata.gz: c6cabf287dc7cd62616a9061131291f404c391be59f1468ccdb3b7f7cb9d2cb5
4
+ data.tar.gz: bf1123d01a7ddadcbfde46a2ffb6e378928bcbcc0b1cdb0b927b7905f0534c12
5
5
  SHA512:
6
- metadata.gz: 4545a9ef9254ec489924172c3f82fec9fd59986517e61b0e6ab24465dd5e4cd44f35296f14da3e3416c71bea05a1147ac80bf206fde68e071ae525c5e6effd27
7
- data.tar.gz: 9be86b4db70aba3d4684dc81bac6949895c9232a0783f3b1f13758356565de682c4d8b9a1ff1aac70ceedcde9fd363b0a5b4e941516d26aafbc783d0e7692dd2
6
+ metadata.gz: 12c1f267367279716c8e5e7fe6ef44327e4921b4e24516313f99954775a4c51d7e874d42184f466f8eb71ebe4f814b14a93b63b043c46096e7be4d804a15fc76
7
+ data.tar.gz: dd2d797e49e3c1741108b63f191ccc3252d1fec1868851802ceb33b65afec4609498cbdb8ee516800e48f04220fdd4179b43abb645177e8ed14ea25c1036916d
data/README.md CHANGED
@@ -22,7 +22,7 @@ Battle tested at [<picture><source media="(prefers-color-scheme: dark)" srcset="
22
22
 
23
23
  ---
24
24
 
25
- Build chatbots, AI agents, RAG applications. Works with OpenAI, Anthropic, Google, AWS, local models, and any OpenAI-compatible API.
25
+ Build chatbots, AI agents, RAG applications. Works with OpenAI, xAI, Anthropic, Google, AWS, local models, and any OpenAI-compatible API.
26
26
 
27
27
  ## Why RubyLLM?
28
28
 
@@ -124,7 +124,7 @@ response = chat.with_schema(ProductSchema).ask "Analyze this product", with: "pr
124
124
  * **Async:** Fiber-based concurrency
125
125
  * **Model registry:** 800+ models with capability detection and pricing
126
126
  * **Extended thinking:** Control, view, and persist model deliberation
127
- * **Providers:** OpenAI, Anthropic, Gemini, VertexAI, Bedrock, DeepSeek, Mistral, Ollama, OpenRouter, Perplexity, GPUStack, and any OpenAI-compatible API
127
+ * **Providers:** OpenAI, xAI, Anthropic, Gemini, VertexAI, Bedrock, DeepSeek, Mistral, Ollama, OpenRouter, Perplexity, GPUStack, and any OpenAI-compatible API
128
128
 
129
129
  ## Installation
130
130
 
@@ -120,10 +120,6 @@
120
120
  "gemini": "gemini-2.5-flash-image",
121
121
  "openrouter": "google/gemini-2.5-flash-image"
122
122
  },
123
- "gemini-2.5-flash-image-preview": {
124
- "gemini": "gemini-2.5-flash-image-preview",
125
- "openrouter": "google/gemini-2.5-flash-image-preview"
126
- },
127
123
  "gemini-2.5-flash-lite": {
128
124
  "gemini": "gemini-2.5-flash-lite",
129
125
  "openrouter": "google/gemini-2.5-flash-lite",
@@ -332,6 +328,10 @@
332
328
  "openai": "gpt-5.2-chat-latest",
333
329
  "openrouter": "openai/gpt-5.2-chat-latest"
334
330
  },
331
+ "gpt-5.2-codex": {
332
+ "openai": "gpt-5.2-codex",
333
+ "openrouter": "openai/gpt-5.2-codex"
334
+ },
335
335
  "gpt-5.2-pro": {
336
336
  "openai": "gpt-5.2-pro",
337
337
  "openrouter": "openai/gpt-5.2-pro"
@@ -20,6 +20,7 @@ module RubyLLM
20
20
  :bedrock_region,
21
21
  :bedrock_session_token,
22
22
  :openrouter_api_key,
23
+ :xai_api_key,
23
24
  :ollama_api_base,
24
25
  :gpustack_api_base,
25
26
  :gpustack_api_key,