Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChatGPT 4 o1 pro mode integration with XCode and VSCode on OSX #80

Open
obriensystems opened this issue Dec 15, 2024 · 1 comment
Open
Assignees

Comments

@obriensystems
Copy link
Member

  • Purchase the chatgpt plus plan
  • download the app
  • enable integration with XCode and VSCode
Screenshot 2024-12-15 at 08 52 02 Screenshot 2024-12-15 at 08 40 58 Screenshot 2024-12-15 at 08 42 32 Screenshot 2024-12-15 at 08 42 46 Screenshot 2024-12-15 at 08 44 20 Screenshot 2024-12-15 at 08 47 48
@obriensystems obriensystems self-assigned this Dec 15, 2024
@obriensystems
Copy link
Member Author

obriensystems commented Jan 1, 2025

switched pc's happen to have github copilot - it did not help with a go-staticcheck issue around the use of a time.Time reference

Screenshot 2025-01-01 at 14 19 21
var secondsLast = time.Now()

..
secondsLast = time.Now()
this value of secondsLast is never used (SA4006)go-staticcheck
Screenshot 2025-01-01 at 14 21 25

change

// secondsLast = time.Now()

however the better fix is to move the variable out of the function into global scope - and optionally add my missing type reference

var secondsLast time.Time = time.Now()
func...
...
func....
				secondsLast = time.Now()

a rerun fixes the ms issue

before
mp: 2610744987 p: 1050 m: 966616035460 ms: 0 dur: 291.670409

after
mp: 2610744987 p: 1050 m: 966616035460 ms: 98363 dur: 267.600584083

@obriensystems obriensystems changed the title ChatGPT 4o integration with XCode and VSCode on OSX ChatGPT 4 o1 pro mode integration with XCode and VSCode on OSX Jan 1, 2025
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

No branches or pull requests

1 participant