TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

iTerm 2 adds ChatGPT integration

11 pointsby marinintim12 months ago

3 comments

blopker12 months ago
I just got this working. The workflow is a little wonky to me, but better than I&#x27;ve seen from other AI-in-the-terminal solutions:<p>Setup:<p>1. Go to Settings (⌘+,)<p>2. General &gt; AI. Put in your OpenAI key. I went with GPT-4o. Make sure you set the token limit to 4,096 or it wont go.<p>Using:<p>1. At the terminal window, hit Edit &gt; Engage Artificial Intelligence, or just hit ⌘+Y.<p>2. Type in the command you want, then hit OK or Shift+Enter.<p>3. On the result window you can hit Shift+Enter again to paste the result into your terminal.<p>The whole Shift+Enter workflow is odd to me. I&#x27;d prefer just Enter. However, I like that I know exactly what&#x27;s being sent to OpenAI. The integration doesn&#x27;t try too hard to send everything over.<p>It&#x27;s good to see iTerm get some updates too!
joshstrange12 months ago
More discussion is over here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40425428">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=40425428</a>
nodesocket12 months ago
I&#x27;d love to see the ability to hook into my self-hosted ollama (llama3) server running in my homelab. I&#x27;m not thrilled about giving OpenAI all my terminal history.
评论 #40426941 未加载
评论 #40420382 未加载