generic-llm-api-client 0.4.3__tar.gz → 0.4.4__tar.gz
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.
- {generic_llm_api_client-0.4.3/generic_llm_api_client.egg-info → generic_llm_api_client-0.4.4}/PKG-INFO +2 -2
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/README.md +1 -1
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/__init__.py +1 -1
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/base_client.py +1 -1
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4/generic_llm_api_client.egg-info}/PKG-INFO +2 -2
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/pyproject.toml +1 -1
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_base_client.py +1 -1
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/LICENSE +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/alibaba_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/claude_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/cohere_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/content_order.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/deepseek_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/gemini_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/mistral_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/openai_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/pricing.json +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/pricing.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/response.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/tools/default_tools.json +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/utils.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/xai_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/generic_llm_api_client.egg-info/SOURCES.txt +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/generic_llm_api_client.egg-info/dependency_links.txt +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/generic_llm_api_client.egg-info/requires.txt +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/generic_llm_api_client.egg-info/top_level.txt +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/setup.cfg +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_async.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_caching.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_claude_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_files_and_resize.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_basic.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_files.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_multimodal.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_structured.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_openai_client.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_other_clients.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_response.py +0 -0
- {generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: generic-llm-api-client
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: A unified, provider-agnostic Python client for multiple LLM APIs
|
|
5
5
|
Author-email: Sorin Marti <sorin.marti@gmail.com>
|
|
6
6
|
Maintainer-email: Sorin Marti <sorin.marti@gmail.com>
|
|
@@ -355,7 +355,7 @@ response, _ = client.prompt('anthropic/claude-3-opus', 'Hello!')
|
|
|
355
355
|
client = create_ai_client(
|
|
356
356
|
'scicore',
|
|
357
357
|
api_key='your-key',
|
|
358
|
-
base_url='https://llm-api-h200.ceda.unibas.ch/
|
|
358
|
+
base_url='https://llm-api-h200.ceda.unibas.ch/v1'
|
|
359
359
|
)
|
|
360
360
|
|
|
361
361
|
response, _ = client.prompt('deepseek/deepseek-chat', 'Hello!')
|
|
@@ -303,7 +303,7 @@ response, _ = client.prompt('anthropic/claude-3-opus', 'Hello!')
|
|
|
303
303
|
client = create_ai_client(
|
|
304
304
|
'scicore',
|
|
305
305
|
api_key='your-key',
|
|
306
|
-
base_url='https://llm-api-h200.ceda.unibas.ch/
|
|
306
|
+
base_url='https://llm-api-h200.ceda.unibas.ch/v1'
|
|
307
307
|
)
|
|
308
308
|
|
|
309
309
|
response, _ = client.prompt('deepseek/deepseek-chat', 'Hello!')
|
|
@@ -770,7 +770,7 @@ def create_ai_client(
|
|
|
770
770
|
if provider == "openrouter" and base_url is None:
|
|
771
771
|
base_url = "https://openrouter.ai/api/v1"
|
|
772
772
|
elif provider == "scicore" and base_url is None:
|
|
773
|
-
base_url = "https://llm-api-h200.ceda.unibas.ch/
|
|
773
|
+
base_url = "https://llm-api-h200.ceda.unibas.ch/v1"
|
|
774
774
|
|
|
775
775
|
client_class = provider_map[provider]
|
|
776
776
|
client = client_class(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: generic-llm-api-client
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: A unified, provider-agnostic Python client for multiple LLM APIs
|
|
5
5
|
Author-email: Sorin Marti <sorin.marti@gmail.com>
|
|
6
6
|
Maintainer-email: Sorin Marti <sorin.marti@gmail.com>
|
|
@@ -355,7 +355,7 @@ response, _ = client.prompt('anthropic/claude-3-opus', 'Hello!')
|
|
|
355
355
|
client = create_ai_client(
|
|
356
356
|
'scicore',
|
|
357
357
|
api_key='your-key',
|
|
358
|
-
base_url='https://llm-api-h200.ceda.unibas.ch/
|
|
358
|
+
base_url='https://llm-api-h200.ceda.unibas.ch/v1'
|
|
359
359
|
)
|
|
360
360
|
|
|
361
361
|
response, _ = client.prompt('deepseek/deepseek-chat', 'Hello!')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/ai_client/tools/default_tools.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_files_and_resize.py
RENAMED
|
File without changes
|
{generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_basic.py
RENAMED
|
File without changes
|
{generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_files.py
RENAMED
|
File without changes
|
{generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_multimodal.py
RENAMED
|
File without changes
|
{generic_llm_api_client-0.4.3 → generic_llm_api_client-0.4.4}/tests/test_integration_structured.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|