Skip to content

Commit

Permalink
Move gt-specific trait-inlined methods into gtoolkit-specific package [
Browse files Browse the repository at this point in the history
  • Loading branch information
hellerve committed Mar 3, 2025
1 parent f33ebbd commit 0f5e6a3
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 deletions.
11 changes: 11 additions & 0 deletions src/Gt4Llm-GToolkit/GtLlmGroup.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Extension { #name : #GtLlmGroup }

{ #category : #'*Gt4Llm-GToolkit' }
GtLlmGroup >> asAsyncStream [
^ AsyncSequenceStream forCollection: self
]

{ #category : #'*Gt4Llm-GToolkit' }
GtLlmGroup >> asBrItemsProvider [
^ BrSequenceableCollectionItemsProvider forCollection: self
]
10 changes: 0 additions & 10 deletions src/Gt4Llm/GtLlmGroup.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,11 @@ GtLlmGroup >> asArray [
^ self items asArray
]

{ #category : #accessing }
GtLlmGroup >> asAsyncStream [
^ AsyncSequenceStream forCollection: self
]

{ #category : #accessing }
GtLlmGroup >> asBag [
^ self items asBag
]

{ #category : #accessing }
GtLlmGroup >> asBrItemsProvider [
^ BrSequenceableCollectionItemsProvider forCollection: self
]

{ #category : #accessing }
GtLlmGroup >> asOrderedCollection [
^ self items asOrderedCollection
Expand Down
11 changes: 11 additions & 0 deletions src/Gt4OpenAI-GToolkit/GtOpenAIGroup.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Extension { #name : #GtOpenAIGroup }

{ #category : #'*Gt4OpenAI-GToolkit' }
GtOpenAIGroup >> asAsyncStream [
^ AsyncSequenceStream forCollection: self
]

{ #category : #'*Gt4OpenAI-GToolkit' }
GtOpenAIGroup >> asBrItemsProvider [
^ BrSequenceableCollectionItemsProvider forCollection: self
]
10 changes: 0 additions & 10 deletions src/Gt4OpenAI/GtOpenAIGroup.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,11 @@ GtOpenAIGroup >> asArray [
^ self items asArray
]

{ #category : #accessing }
GtOpenAIGroup >> asAsyncStream [
^ AsyncSequenceStream forCollection: self
]

{ #category : #accessing }
GtOpenAIGroup >> asBag [
^ self items asBag
]

{ #category : #accessing }
GtOpenAIGroup >> asBrItemsProvider [
^ BrSequenceableCollectionItemsProvider forCollection: self
]

{ #category : #accessing }
GtOpenAIGroup >> asOrderedCollection [
^ self items asOrderedCollection
Expand Down

0 comments on commit 0f5e6a3

Please sign in to comment.