Skip to content

examples: A simple agent that can execute bash#637

Open
Mr-JingShi wants to merge 1 commit intoollama:mainfrom
Mr-JingShi:main
Open

examples: A simple agent that can execute bash#637
Mr-JingShi wants to merge 1 commit intoollama:mainfrom
Mr-JingShi:main

Conversation

@Mr-JingShi
Copy link
Copy Markdown

@Mr-JingShi Mr-JingShi commented Mar 31, 2026

#python3 simple-agent.py
Ollama agent loop running with qwen3:4b
Type 'q' or 'exit' to quit.

Ollama-Agent >> Find all Python files in this directory
Here are all the Python files found in the current directory:

```
./web_search_gpt_oss_helper.py
./show.py
./generate-image.py
./structured-outputs-image.py
./pull.py
./chat-logprobs.py
./generate-stream.py
./list.py
./embed.py
./create.py
./chat-with-history.py
./generate.py
./tools.py
./gpt-oss-tools.py
./async-tools.py
./gpt-oss-tools-stream.py
./multimodal-chat.py
./chat-stream.py
./thinking-generate.py
./multi-tool.py
./async-generate.py
./thinking.py
./web-search-gpt-oss.py
./chat.py
./simple-agent.py
./fill-in-middle.py
./thinking-levels.py
./generate-logprobs.py
./async-chat.py
./ps.py
./web-search-mcp.py
./async-structured-outputs.py
./structured-outputs.py
./multimodal-generate.py
./web-search.py
```

This list shows all Python files (with `.py` extension) in the current directory and its subdirectories.

Ollama-Agent >> 当前git分支
The current Git branch is `main`.

Ollama-Agent >>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant