You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`api_key`|`str`|`os.getenv("API_KEY")`| The authentication key for the LLM provider. **Recommended:** Set this via the **Brick Configuration** menu in App Lab instead of code.|
88
+
|`model`|`str`\|`CloudModel`|`CloudModel.ANTHROPIC_CLAUDE`| The specific model to use. Accepts a `CloudModel` enum or its string value. |
89
+
|`system_prompt`|`str`|`""`| A base instruction that defines the AI's behavior and persona. |
90
+
|`temperature`|`float`|`0.7`| Controls randomness. `0.0` is deterministic, `1.0` is creative. |
91
+
|`timeout`|`int`|`30`| Maximum time (in seconds) to wait for a response. |
91
92
92
93
### Supported Models
93
94
@@ -105,4 +106,4 @@ You can select a model using the `CloudModel` enum or by passing the correspondi
105
106
-**`chat_stream(message)`**: Returns a generator yielding response tokens as they arrive.
106
107
-**`stop_stream()`**: Interrupts an active streaming generation.
107
108
-**`with_memory(max_messages)`**: Enables history tracking. `max_messages` defines the context window size.
108
-
-**`clear_memory()`**: Resets the conversation history.
109
+
-**`clear_memory()`**: Resets the conversation history.
0 commit comments