Comments (2)
try like so
➜ ~ python3 -m sgpt
from shell_gpt.
@ecsplendid
Thank you for such detailed feedback.
Make sure you have site-packages
in your $PATH
:
pip show shell-gpt
...
# In my case it is located in homebrew dir where my Python lives.
Location: /opt/homebrew/lib/python3.10/site-packages # Should be in $PATH
You can add context to your prompt using --shell
option (it will add "provide only shell command as output" to the prompt), and it works as you are expecting:
sgpt --shell --chat c1 "whats in this directory"
# -> ls
from shell_gpt.
Related Issues (20)
- Pasting from clipboard into --repl mode does not handle new line characters HOT 1
- Error code: 404 - The model `gpt-4-1106-preview` does not exist or you do not have access to it.
- when use ollama that completion can't work HOT 1
- Want to add the ability to translate local files directly HOT 3
- Dependency error in Python 3.8: instructor
- Is it possible to support gemini api HOT 4
- 能加入 语音聊天功能吗?
- Missing instructions to run on Azure HOT 4
- AttributeError: module 'click.utils' has no attribute '_expand_args'
- Feature request: Support patterns from external resources
- 数据
- data
- Ollama ResponseNotRead: Attempted to access streaming response content, without having called read() HOT 3
- [Minor CLI enhancement] Create short flag option for `--help `: `-h` HOT 1
- Read bash command history output and feed it as context for the next prompt HOT 1
- sgp --install-integration fails to detect zsh
- cd command is not executing without sudo
- New Feature: command to delete chat-cache
- ShellGPT Running Linux Commands in Windows HOT 1
- doesn't respond to 'sgpt' in terminal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell_gpt.