ccs-llmconnector 1.0.3__py3-none-any.whl → 1.0.4__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ccs-llmconnector
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Lightweight wrapper around different LLM provider Python SDK Responses APIs.
5
5
  Author: CCS
6
6
  License: MIT
@@ -1,14 +1,14 @@
1
- ccs_llmconnector-1.0.3.dist-info/licenses/LICENSE,sha256=YYl_gt0O2aJW046pklgKWlVVZZpFcTIOsycrs69ltn4,1061
1
+ ccs_llmconnector-1.0.4.dist-info/licenses/LICENSE,sha256=YYl_gt0O2aJW046pklgKWlVVZZpFcTIOsycrs69ltn4,1061
2
2
  llmconnector/__init__.py,sha256=SCCVGnaj8aFeE5ugvgf2bGmCLt29R__hoRu0qKhJA4c,1174
3
- llmconnector/anthropic_client.py,sha256=1sp9-3q_S0FPlkigxs-SipS_3DwOYmnbMKh8tBRe71M,7177
3
+ llmconnector/anthropic_client.py,sha256=BoRoIqdgKKico_7u7T-jDybhta3dlEYMTL8FX1SfEDM,7197
4
4
  llmconnector/client.py,sha256=SVn-afiwjdnFnlDflN-WiGK1wdFyazh5wSmUTtRWQmU,4834
5
5
  llmconnector/client_cli.py,sha256=ncEkQ5xcoPnfnnDYaFKbpf6imR9uDBqlLFxS9EA1_7s,10335
6
6
  llmconnector/gemini_client.py,sha256=GDcx3KfYHWA4qlTHRqPQ_wGk_HL8wIRWB-qHT4ZHC0k,8060
7
7
  llmconnector/grok_client.py,sha256=lv-syTmqcgpLsLf6VVsPnghos3lR9YvPIuNv-Iy7SAo,5823
8
8
  llmconnector/openai_client.py,sha256=ECugkVsKNWaV_Xl3suY9XhagSAyCP1AwKP1mXtUGmDk,5402
9
9
  llmconnector/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
10
- ccs_llmconnector-1.0.3.dist-info/METADATA,sha256=QdtmF13ALPLVRu0ObgFNMM86hYwEdhNRQ89Yy5Q4EkY,14051
11
- ccs_llmconnector-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- ccs_llmconnector-1.0.3.dist-info/entry_points.txt,sha256=eFvLY3nHAG_QhaKlemhhK7echfezW0KiMdSNMZOStLc,60
13
- ccs_llmconnector-1.0.3.dist-info/top_level.txt,sha256=Doer7TAUsN8UXQfPHPNsuBXVNCz2uV-Q0v4t4fwv_MM,13
14
- ccs_llmconnector-1.0.3.dist-info/RECORD,,
10
+ ccs_llmconnector-1.0.4.dist-info/METADATA,sha256=ym56hl73mswU1qhD5n9lDsaEh2SIEdpE1MvuAvdXQec,14051
11
+ ccs_llmconnector-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ ccs_llmconnector-1.0.4.dist-info/entry_points.txt,sha256=eFvLY3nHAG_QhaKlemhhK7echfezW0KiMdSNMZOStLc,60
13
+ ccs_llmconnector-1.0.4.dist-info/top_level.txt,sha256=Doer7TAUsN8UXQfPHPNsuBXVNCz2uV-Q0v4t4fwv_MM,13
14
+ ccs_llmconnector-1.0.4.dist-info/RECORD,,
@@ -68,11 +68,11 @@ class AnthropicClient:
68
68
  client = Anthropic(api_key=api_key)
69
69
 
70
70
  try:
71
- response = client.messages.create(
72
- model=model,
73
- max_tokens=max_tokens,
74
- messages=[{"role": "user", "content": content_blocks}],
75
- )
71
+ response = client.messages.create(
72
+ model=model,
73
+ max_tokens=max_tokens,
74
+ messages=[{"role": "user", "content": content_blocks}],
75
+ )
76
76
  except Exception as exc:
77
77
  logger.exception("Anthropic messages.create failed: %s", exc)
78
78
  raise