Skip to content

Commit

Permalink
Move thisContext users into gtoolkit-specific package [feenkcom/gtool…
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Mar 3, 2025
1 parent 50cb53a commit 33cd8f5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
5 changes: 5 additions & 0 deletions src/Gt4Llm-GToolkit/GtLlmTutorAction.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ GtLlmTutorAction >> gtDefinitionFor: aView [
coder asExpandedOnlyElement vFitContentLimited ]
]

{ #category : #'*Gt4Llm-GToolkit' }
GtLlmTutorAction >> initializeMethod [
^ (thisContext stack at: 4) blocDefiningMethod
]

{ #category : #'*Gt4Llm-GToolkit' }
GtLlmTutorAction >> nameDescription [
<magritteDescription>
Expand Down
6 changes: 6 additions & 0 deletions src/Gt4Llm-GToolkit/GtLlmTutorFormatDescription.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Extension { #name : #GtLlmTutorFormatDescription }

{ #category : #'*Gt4Llm-GToolkit' }
GtLlmTutorFormatDescription >> initializeMethod [
^ (thisContext stack at: 4) blocDefiningMethod
]
5 changes: 0 additions & 5 deletions src/Gt4Llm/GtLlmTutorAction.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ GtLlmTutorAction >> initialize [
definingMethod := self initializeMethod
]

{ #category : #accessing }
GtLlmTutorAction >> initializeMethod [
^ (thisContext stack at: 3) blocDefiningMethod
]

{ #category : #accessing }
GtLlmTutorAction >> inputReferences [
^ (self examples flatCollect: #inputReferences as: Set)
Expand Down
5 changes: 0 additions & 5 deletions src/Gt4Llm/GtLlmTutorFormatDescription.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,6 @@ GtLlmTutorFormatDescription >> initialize [
definingMethod := self initializeMethod
]

{ #category : #accessing }
GtLlmTutorFormatDescription >> initializeMethod [
^ (thisContext stack at: 4) blocDefiningMethod
]

{ #category : #accessing }
GtLlmTutorFormatDescription >> name [
^ name
Expand Down

0 comments on commit 33cd8f5

Please sign in to comment.