Skip to content

Commit

Permalink
add back missing conn.host
Browse files Browse the repository at this point in the history
  • Loading branch information
ThejasNU committed Nov 25, 2024
1 parent 862fe8e commit 5c8f376
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/agentc_core/agentc_core/util/ddl.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ def create_vector_index(
"No node with 'search' service found, cannot create vector index! Please ensure 'search' service is included in at least one node."
)

# To be on safer side make request to connection string host
fts_nodes_hostname.append(conn.host)

max_partition_env = os.getenv("AGENT_CATALOG_MAX_SOURCE_PARTITION")
try:
max_partition = int(max_partition_env) if max_partition_env is not None else 1024
Expand Down

0 comments on commit 5c8f376

Please sign in to comment.