From 4bc40a9d139d41ea43ea0ef9e06daacee7af8e46 Mon Sep 17 00:00:00 2001 From: Farouk Adeleke Date: Mon, 24 Nov 2025 22:13:32 -0500 Subject: [PATCH] (no commit message) --- agent.json | 22 +++++++++++----------- config.json | 8 ++++---- src/analyzer.py | 8 ++++---- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/agent.json b/agent.json index 686dc98..d151143 100644 --- a/agent.json +++ b/agent.json @@ -37,15 +37,15 @@ ] }, "lm": { - "model": "gpt-4o", + "model": "gpt-5.1-2025-11-13", "model_type": "chat", "cache": true, "num_retries": 3, "finetuning_model": null, "launch_kwargs": {}, "train_kwargs": {}, - "temperature": 0.7, - "max_tokens": 8192 + "temperature": 1.0, + "max_completion_tokens": 16000 } }, "analyze_structure.predict": { @@ -82,15 +82,15 @@ ] }, "lm": { - "model": "gpt-4o", + "model": "gpt-5.1-2025-11-13", "model_type": "chat", "cache": true, "num_retries": 3, "finetuning_model": null, "launch_kwargs": {}, "train_kwargs": {}, - "temperature": 0.7, - "max_tokens": 8192 + "temperature": 1.0, + "max_completion_tokens": 16000 } }, "generate_examples.predict": { @@ -115,15 +115,15 @@ ] }, "lm": { - "model": "gpt-4o", + "model": "gpt-5.1-2025-11-13", "model_type": "chat", "cache": true, "num_retries": 3, "finetuning_model": null, "launch_kwargs": {}, "train_kwargs": {}, - "temperature": 0.7, - "max_tokens": 8192 + "temperature": 1.0, + "max_completion_tokens": 16000 } }, "generate_llms_txt.predict": { @@ -179,8 +179,8 @@ "finetuning_model": null, "launch_kwargs": {}, "train_kwargs": {}, - "temperature": 0.7, - "max_tokens": 8192 + "temperature": 1.0, + "max_tokens": 16000 } }, "metadata": { diff --git a/config.json b/config.json index cd004d0..92e2d28 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { - "repo_analyzer_model": "gpt-4o", - "code_analyzer_model": "gpt-4o", + "repo_analyzer_model": "gpt-5.1-2025-11-13", + "code_analyzer_model": "gpt-5.1-2025-11-13", "llms_txt_generator_model": "gpt-4o", - "max_tokens": 8192, - "temperature": 0.7 + "max_tokens": 16000, + "temperature": 1.0 } \ No newline at end of file diff --git a/src/analyzer.py b/src/analyzer.py index 20c682c..530e15c 100644 --- a/src/analyzer.py +++ b/src/analyzer.py @@ -11,11 +11,11 @@ from .signatures import AnalyzeRepository, AnalyzeCodeStructure, GenerateLLMsTxt class RepositoryAnalyzerConfig(PrecompiledConfig): """Configuration for RepositoryAnalyzer.""" - repo_analyzer_model: str = "gpt-4o" - code_analyzer_model: str = "gpt-4o" + repo_analyzer_model: str = "gpt-5.1-2025-11-13" + code_analyzer_model: str = "gpt-5.1-2025-11-13" llms_txt_generator_model: str = "gpt-4o" - max_tokens: int = 8192 - temperature: float = 0.7 + max_tokens: int = 16000 + temperature: float = 1.0 class RepositoryAnalyzer(PrecompiledAgent):