Skip to content

Commit

Permalink
Remove gtExample pragma from OpenAI chat/client/tutor constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Dec 11, 2024
1 parent e471cd5 commit 2d377cf
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/Gt4OpenAI/GtOpenAIChat.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ Class {

{ #category : #accessing }
GtOpenAIChat class >> withApiKeyFromClipboard [
<gtExample>
^ self new apiKey: Clipboard clipboardText
]

{ #category : #accessing }
GtOpenAIChat class >> withApiKeyFromFile [
<gtExample>
^ self new apiKey: GtOpenAIClient apiKeyFileContents
]

Expand Down
2 changes: 0 additions & 2 deletions src/Gt4OpenAI/GtOpenAIClient.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ GtOpenAIClient class >> initialize [

{ #category : #accessing }
GtOpenAIClient class >> withApiKeyFromClipboard [
<gtExample>
^ self new apiKey: Clipboard clipboardText
]

{ #category : #accessing }
GtOpenAIClient class >> withApiKeyFromFile [
<gtExample>
^ self new apiKey: self apiKeyFileContents
]

Expand Down
2 changes: 0 additions & 2 deletions src/Gt4OpenAI/GtOpenAIGtSpecificTutor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ GtOpenAIGtSpecificTutor class >> isTutorAvailable [

{ #category : #accessing }
GtOpenAIGtSpecificTutor class >> withApiKeyFromClipboard [
<gtExample>
^ self new apiKey: Clipboard clipboardText
]

{ #category : #accessing }
GtOpenAIGtSpecificTutor class >> withApiKeyFromFile [
<gtExample>
^ self new apiKey: GtOpenAIClient apiKeyFileContents
]

Expand Down
2 changes: 0 additions & 2 deletions src/Gt4OpenAI/GtOpenAITutor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ GtOpenAITutor class >> refreshInstance [

{ #category : #accessing }
GtOpenAITutor class >> withApiKeyFromClipboard [
<gtExample>
^ self new apiKey: Clipboard clipboardText
]

{ #category : #accessing }
GtOpenAITutor class >> withApiKeyFromFile [
<gtExample>
^ self new apiKey: GtOpenAIClient apiKeyFileContents
]

Expand Down

0 comments on commit 2d377cf

Please sign in to comment.