(no commit message)
This commit is contained in:
22
agent.json
22
agent.json
@@ -37,15 +37,15 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lm": {
|
"lm": {
|
||||||
"model": "gpt-4o",
|
"model": "gpt-5.1-2025-11-13",
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"num_retries": 3,
|
"num_retries": 3,
|
||||||
"finetuning_model": null,
|
"finetuning_model": null,
|
||||||
"launch_kwargs": {},
|
"launch_kwargs": {},
|
||||||
"train_kwargs": {},
|
"train_kwargs": {},
|
||||||
"temperature": 0.7,
|
"temperature": 1.0,
|
||||||
"max_tokens": 8192
|
"max_completion_tokens": 16000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"analyze_structure.predict": {
|
"analyze_structure.predict": {
|
||||||
@@ -82,15 +82,15 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lm": {
|
"lm": {
|
||||||
"model": "gpt-4o",
|
"model": "gpt-5.1-2025-11-13",
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"num_retries": 3,
|
"num_retries": 3,
|
||||||
"finetuning_model": null,
|
"finetuning_model": null,
|
||||||
"launch_kwargs": {},
|
"launch_kwargs": {},
|
||||||
"train_kwargs": {},
|
"train_kwargs": {},
|
||||||
"temperature": 0.7,
|
"temperature": 1.0,
|
||||||
"max_tokens": 8192
|
"max_completion_tokens": 16000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"generate_examples.predict": {
|
"generate_examples.predict": {
|
||||||
@@ -115,15 +115,15 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lm": {
|
"lm": {
|
||||||
"model": "gpt-4o",
|
"model": "gpt-5.1-2025-11-13",
|
||||||
"model_type": "chat",
|
"model_type": "chat",
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"num_retries": 3,
|
"num_retries": 3,
|
||||||
"finetuning_model": null,
|
"finetuning_model": null,
|
||||||
"launch_kwargs": {},
|
"launch_kwargs": {},
|
||||||
"train_kwargs": {},
|
"train_kwargs": {},
|
||||||
"temperature": 0.7,
|
"temperature": 1.0,
|
||||||
"max_tokens": 8192
|
"max_completion_tokens": 16000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"generate_llms_txt.predict": {
|
"generate_llms_txt.predict": {
|
||||||
@@ -179,8 +179,8 @@
|
|||||||
"finetuning_model": null,
|
"finetuning_model": null,
|
||||||
"launch_kwargs": {},
|
"launch_kwargs": {},
|
||||||
"train_kwargs": {},
|
"train_kwargs": {},
|
||||||
"temperature": 0.7,
|
"temperature": 1.0,
|
||||||
"max_tokens": 8192
|
"max_tokens": 16000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"repo_analyzer_model": "gpt-4o",
|
"repo_analyzer_model": "gpt-5.1-2025-11-13",
|
||||||
"code_analyzer_model": "gpt-4o",
|
"code_analyzer_model": "gpt-5.1-2025-11-13",
|
||||||
"llms_txt_generator_model": "gpt-4o",
|
"llms_txt_generator_model": "gpt-4o",
|
||||||
"max_tokens": 8192,
|
"max_tokens": 16000,
|
||||||
"temperature": 0.7
|
"temperature": 1.0
|
||||||
}
|
}
|
||||||
@@ -11,11 +11,11 @@ from .signatures import AnalyzeRepository, AnalyzeCodeStructure, GenerateLLMsTxt
|
|||||||
class RepositoryAnalyzerConfig(PrecompiledConfig):
|
class RepositoryAnalyzerConfig(PrecompiledConfig):
|
||||||
"""Configuration for RepositoryAnalyzer."""
|
"""Configuration for RepositoryAnalyzer."""
|
||||||
|
|
||||||
repo_analyzer_model: str = "gpt-4o"
|
repo_analyzer_model: str = "gpt-5.1-2025-11-13"
|
||||||
code_analyzer_model: str = "gpt-4o"
|
code_analyzer_model: str = "gpt-5.1-2025-11-13"
|
||||||
llms_txt_generator_model: str = "gpt-4o"
|
llms_txt_generator_model: str = "gpt-4o"
|
||||||
max_tokens: int = 8192
|
max_tokens: int = 16000
|
||||||
temperature: float = 0.7
|
temperature: float = 1.0
|
||||||
|
|
||||||
|
|
||||||
class RepositoryAnalyzer(PrecompiledAgent):
|
class RepositoryAnalyzer(PrecompiledAgent):
|
||||||
|
|||||||
Reference in New Issue
Block a user