sunholo 0.67.6__py3-none-any.whl → 0.67.7__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.
sunholo/agents/route.py CHANGED
@@ -47,19 +47,22 @@ def route_endpoint(vector_name, method = 'post', override_endpoint=None):
47
47
 
48
48
  agents_config = load_config_key(agent_type, vector_name, kind="agentConfig")
49
49
 
50
- log.info(f"endpoints_config: {agents_config}")
50
+ log.info(f"agents_config: {agents_config}")
51
51
  if method not in agents_config:
52
52
  raise ValueError(f"Invalid method '{method}' for agent configuration.")
53
53
 
54
54
  # 'post' or 'get'
55
55
  endpoints_config = agents_config[method]
56
56
 
57
+ log.info(f"endpoints_config: {endpoints_config}")
57
58
  # Replace placeholders in the config
58
59
  endpoints = {}
59
60
  for key, value in endpoints_config.items():
60
61
  format_args = {'stem': stem}
61
62
  if '{vector_name}' in value and vector_name is not None:
62
63
  format_args['vector_name'] = vector_name
64
+
65
+ log.debug('format_args: {format_args} - value: {value} - key: {key}')
63
66
  endpoints[key] = value.format(**format_args)
64
67
 
65
68
  return endpoints
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sunholo
3
- Version: 0.67.6
3
+ Version: 0.67.7
4
4
  Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
5
5
  Home-page: https://github.com/sunholo-data/sunholo-py
6
- Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.67.6.tar.gz
6
+ Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.67.7.tar.gz
7
7
  Author: Holosun ApS
8
8
  Author-email: multivac@sunholo.com
9
9
  License: Apache License, Version 2.0
@@ -5,7 +5,7 @@ sunholo/agents/chat_history.py,sha256=bkII7PNEbGCaobu2Rnr2rM9dim3BCK0kM-tiWhoI1t
5
5
  sunholo/agents/dispatch_to_qa.py,sha256=nFNdxhkr7rVYuUwVoBCBNYBI2Dke6-_z_ZApBEWb_cU,8291
6
6
  sunholo/agents/langserve.py,sha256=FdhQjorAY2bMn2rpuabNT6bU3uqSKWrl8DjpH3L_V7k,4375
7
7
  sunholo/agents/pubsub.py,sha256=5hbbhbBGyVWRpt2sAGC5FEheYH1mCCwVUhZEB1S7vGg,1337
8
- sunholo/agents/route.py,sha256=V1HKXTvaNuYgjmT5_QgIQum4O7O0Mw497m6YiMpEzX0,2383
8
+ sunholo/agents/route.py,sha256=aBuGV17EferxF01HBAmmXsiAPJ07zucPre6rRoHxS1o,2521
9
9
  sunholo/agents/special_commands.py,sha256=ecD5jrBVXo170sdgPILi0m_m_4nRFEv6qKn5zYEvEK8,6494
10
10
  sunholo/agents/swagger.py,sha256=wK90aGOgUojZjfMcjqhhJ_ksJ6ZCsVT1Iy02oU6Q5XM,10786
11
11
  sunholo/agents/fastapi/__init__.py,sha256=S_pj4_bTUmDGoq_exaREHlOKThi0zTuGT0VZY0YfODQ,88
@@ -105,9 +105,9 @@ sunholo/vertex/__init__.py,sha256=JvHcGFuv6R_nAhY2AdoqqhMpJ5ugeWPZ_svGhWrObBk,13
105
105
  sunholo/vertex/init.py,sha256=JDMUaBRdednzbKF-5p33qqLit2LMsvgvWW-NRz0AqO0,1801
106
106
  sunholo/vertex/memory_tools.py,sha256=8F1iTWnqEK9mX4W5RzCVKIjydIcNp6OFxjn_dtQ3GXo,5379
107
107
  sunholo/vertex/safety.py,sha256=3meAX0HyGZYrH7rXPUAHxtI_3w_zoy_RX7Shtkoa660,1275
108
- sunholo-0.67.6.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
109
- sunholo-0.67.6.dist-info/METADATA,sha256=6PlkAPN3HfKLiK2Q_4rcVrtdqDYWOqVUyR1Rhs6_Jk4,6155
110
- sunholo-0.67.6.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
111
- sunholo-0.67.6.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
112
- sunholo-0.67.6.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
113
- sunholo-0.67.6.dist-info/RECORD,,
108
+ sunholo-0.67.7.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
109
+ sunholo-0.67.7.dist-info/METADATA,sha256=kfPVqTMUHSHbTmJQSeERCiCXHAEDPV-_Ir3QP3VY3nQ,6155
110
+ sunholo-0.67.7.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
111
+ sunholo-0.67.7.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
112
+ sunholo-0.67.7.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
113
+ sunholo-0.67.7.dist-info/RECORD,,