Skip to content

Commit 9016602

Browse files
Copilotgkorland
andcommitted
Fix flake8 error: remove unnecessary global declaration
Co-authored-by: gkorland <753206+gkorland@users.noreply.github.com>
1 parent 405d022 commit 9016602

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

api/llm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ def _define_ontology() -> Ontology:
235235
ontology = _define_ontology()
236236

237237
def _create_kg_agent(repo_name: str):
238-
global ontology
239-
240238
model_name = os.getenv('MODEL_NAME', 'gemini/gemini-2.0-flash')
241239

242240
model = LiteModel(model_name)

0 commit comments

Comments
 (0)