Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def generate(self, prompt: str, temperature: float, max_tokens: int) -> str:
model=self.model,
messages=[{"role": "user", "content": prompt}],
temperature=temperature,
max_tokens=max_tokens,
max_completion_tokens=max_tokens,
)
return response.choices[0].message.content

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class LLMDecomposerCfg(DecomposerCfg):
base_url: str = "https://api.openai.com/v1"
"""The base URL for the LLM API."""

model: str = "gpt-3.5-turbo"
model: str = "gpt-5.4"
"""The model name for the LLM."""

temperature: float = 0.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Output the task decomposition result in JSON format with the following fields:

5. **Push/Pull Pattern** (for pushing/pulling objects):
```
moveto(object) → reach(object) → grasp(object) → push(forward) # or pull(back)
moveto(object) → reach(object) → grasp(object) → push(object) # or pull(object)
```

6. **Combined Patterns**: For complex tasks, combine multiple patterns in sequence.
Expand Down
Loading