diff --git a/agentic_search.py b/agentic_search.py index 32ca539..6fafeaa 100644 --- a/agentic_search.py +++ b/agentic_search.py @@ -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