This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
import platform | |
from openai import OpenAI | |
from openai.types.chat.chat_completion_chunk import Choice | |
api_key = os.getenv("OPENAI_KEY", "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"vim_mode": true, | |
"theme": "Summercamp", | |
"relative_line_numbers": true, | |
"buffer_line_height": "standard", | |
"buffer_font_family": "Menlo", | |
"ui_font_family": "Menlo", | |
"terminal": { | |
"font_family": "Menlo" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[editor] | |
mouse = false | |
auto-completion = true | |
cursorline = true | |
cursorcolumn = true | |
auto-format = true | |
auto-save = true | |
idle-timeout = 300 | |
completion-trigger-len = 2 | |
auto-info = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "ctrl+shift+d", | |
"command": "editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.revealDefinition", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"telemetry.telemetryLevel": "off", | |
"git.enableSmartCommit": true, | |
"python.defaultInterpreterPath": "/usr/local/bin/python3", | |
"python.analysis.extraPaths": [ | |
"~/Library/Python/3.11/lib/python/site-packages" | |
], | |
"python.testing.pytestEnabled": true, | |
"python.analysis.typeCheckingMode": "off", | |
"[python]": { |