Skip to content

Commit ebc8d61

Browse files
authored
Support client side json validation. (#2306)
- Addresses #2286 - Resolves #2263
1 parent b1f0e6c commit ebc8d61

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "patch",
3+
"description": "Support client side json validation."
4+
}

packages/graphrag-llm/graphrag_llm/completion/lite_llm_completion.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040

4141
litellm.suppress_debug_info = True
42+
litellm.enable_json_schema_validation = True
4243

4344

4445
class LiteLLMCompletion(LLMCompletion):

0 commit comments

Comments
 (0)