feat: update research query to explore Hugging Face model versioning and updates

This commit is contained in:
Willem van den Ende 2025-05-04 09:24:36 +01:00 committed by Willem van den Ende (aider)
parent 6f7735f70f
commit da48c38d51

View File

@ -2,11 +2,12 @@ import json
from rich.console import Console
from rich.spinner import Spinner
from qwen_agent.agents import Assistant
from transformers import pipeline
# Define LLM
llm_cfg = {
'model': 'hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q5_K_M',
# 'model': 'qwen3:32b',
# 'model': 'hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q5_K_M',
'model': 'qwen3:32b',
# Use a custom endpoint compatible with OpenAI API:
'model_server': 'http://localhost:11434/v1', # api_base
@ -48,9 +49,10 @@ console = Console()
messages = [{'role': 'user',
'content':
""""
- ***Research** Parsing CLI commands and options in python code.
-- **Analyze** Clean separation of concerns between parsing commands and options and execution of the commands.
-- **Answer** What is the best way to parse CLI commands and options in python code?"""}]
***Research** Updating models from https://huggingface.co .
**Analyze** how can I find out if a model on hugging face is newer than the model I have now. For instance https://huggingface.co/unsloth/Qwen3-30B-A3B-GGUF
pipe = pipeline("text-generation", model="Qwen/Qwen3-30B-A3B")
**Answer** In English. Is there a versioning scheme for models on huggingface? Can I instruct ollama to pull a newer version of a model?"""}]
final_responses = None
# Consider adding error handling around bot.run