Comments (2)
Implemented with --editor
argument in PR #27
from shell_gpt.
Thank you for your feedback!
The feature you are suggesting is actually a good idea. It can be implemented using additional argument for example, you would call sgpt --editor
and it will drop you into $EDITOR
where you could write entire prompt including code:
convert the following code from Pytorch to Tensorflow:
import torch
...
By the way, we can also pass any file content to the prompt using some shell magic:
sgpt "convert the following code from Pytorch to Tensorflow: $(cat my_pytorch.py)"
from shell_gpt.
Related Issues (20)
- Option to get EDITOR from config file HOT 1
- "Add them together" prints 50 unix commands ? HOT 1
- Too Many Requests for url for simple prompt HOT 5
- Feature request: Allow starting a chat from most recent response HOT 4
- Unicode Encode Error on Windows with gpt-4
- Feature request: add an option for --shell to execute immediately without prompting HOT 2
- ZSH integration broken HOT 2
- Render markdown output HOT 9
- HTTPError: 429 Client Error: Too Many Requests HOT 1
- How to change default shortcut for shell integration HOT 4
- [Feature Request] Support InternLM HOT 1
- Custom API parameters HOT 2
- Respect ZDOTDIR with --shell-integration
- Add requirements.txt HOT 2
- add option to [E]dit shell commands HOT 1
- please go ahead and laugh HOT 2
- Is Home directory of /home/* hard-coded? HOT 2
- Idk, it won't even start HOT 2
- use openai python sdk
- [BUG] JSONDecodeError: Unterminated string starting at: line 1 column 1 (char 0) HOT 3
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.