mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-06 03:20:41 +00:00
feat(model): Support yi proxy LLM (#1303)
This commit is contained in:
@@ -99,7 +99,7 @@ def _parse_table_summary(
|
||||
index_keys = []
|
||||
for index_key in conn.get_indexes(table_name):
|
||||
key_str = ", ".join(index_key["column_names"])
|
||||
index_keys.append(f"{index_key['name']}(`{key_str}`) ")
|
||||
index_keys.append(f"{index_key['name']}(`{key_str}`) ") # noqa
|
||||
table_str = summary_template.format(table_name=table_name, columns=column_str)
|
||||
if len(index_keys) > 0:
|
||||
index_key_str = ", ".join(index_keys)
|
||||
|
Reference in New Issue
Block a user